I downloaded the Mysql-5.6.12 source code from the official website and extracted its contents in /usr/lib but the problem Im facing is now how do I install it?
I followed the steps to install it it was like
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
But the problem Im facing is:
there is no file named mysql_install_db but has a filenamed
Can anyone suggest me how to install Mysql in my ubuntu 12.04. Please help. I have tried other steps as well but nothing seems to work.