You should have to first check, MySQL server is running or not. You can use the following command to check.
ps -ef | grepmysqld
If your MySql is running, then you will see mysqld process listed in your result. If server is not running, then you can start it by using the following command –
root@host# cd /usr/bin ./safe_mysqld&
If you want to shut down your running MySQL server execute the following command.
root@host# cd /usr/bin ./mysqladmin -u root -p shutdown Enter password: ******