Under MySQL Documentation I found the following procedure for binary installation in Linux
Make sure to follow the instructions on Postinstallation Setup and Testing to secure MySQL accounts.
Happy install...
shell> groupadd mysqlshell> useradd -r -g mysql mysqlshell> cd /usr/localshell> tar zxvf /path/to/mysql-VERSION-OS.tar.gzshell> ln -s full-path-to-mysql-VERSION-OS mysqlshell> cd mysqlshell> chown -R mysql .shell> chgrp -R mysql .shell> scripts/mysql_install_db --user=mysqlshell> chown -R root .shell> chown -R mysql data# Next command is optionalshell> cp support-files/my-medium.cnf /etc/my.cnfshell> bin/mysqld_safe --user=mysql &# Next command is optionalshell> cp support-files/mysql.server /etc/init.d/mysql.server
While trying to execute the highlighted step I got an error regarding libaio-dev library.
So I just download it from the Ubuntu Software Center and continued with my installation.
Make sure to follow the instructions on Postinstallation Setup and Testing to secure MySQL accounts.
Happy install...
Comments
Post a Comment