Ubuntu – Installed MySQL but still says command not found


I downloaded MySQL's rpm bundle from the site, converted it to a .deb file using alien and installed it by saying sudo dpkg -i mysql-server_5.6.14-2_amd64.deb. However, when I say mysql in the command line, it gives an error that it is not installed. What do I do?

I am on Ubuntu GNOME 13.10 64-bit

Best Answer

Run this command on terminal

sudo apt-get install mysql-client

After install MySQL client you can use 'mysql' command. If you want to install MySQL server you have to run following command.

sudo apt-get install mysql-server

Related Question