Under MySQL Documentation I found the following procedure for binary installation in Linux shell> groupadd mysql shell> useradd -r -g mysql mysql shell> cd /usr/local shell> tar zxvf /path/to/mysql-VERSION-OS.tar.gz shell> ln -s full-path-to-mysql-VERSION-OS mysql shell> cd mysql shell> chown -R mysql . shell> chgrp -R mysql . shell> scripts/mysql_install_db --user=mysql shell> chown -R root . shell> chown -R mysql data # Next command is optional shell> cp support-files/my-medium.cnf /etc/my.cnf shell> bin/mysqld_safe --user=mysql & # Next command is optional shell> 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 M...
These notes are intended mainly for me but feel free to use them if you find them useful. I have many notes from way different topics, there is no specific one or correlation between them.