Search code examples
mysqllinuxlinux-mint

mysql.server: command not found


I am new to Linux and mysql. I downloaded and installed mysql for linux as directed here.

My OS is Linux Mint 17 and I installed Ubuntu 14.04 LTS version of mysql.

I executed:

sudo dpkg -i mysql-apt-config_0.1.5-1ubuntu14.04_all.deb

chose mysql-5.6 and then executed:

sudo apt-get update
sudo apt-get install mysql-server
sudo mysql_install_db

Now when I try to run mysql.server, it says:

mysql.server: command not found

But when I executed sudo service mysql start, it says:

* A MySQL Server is already started

Do I have to worry about mysql.server command not being found or should I just ignore it and move on?

This question is different from this one as it pertains to Windows OS.


Solution

  • To check if mysql is running use the following command:

    sudo service mysql status