Starting and Stopping the MySQL Server

October 04, 2015 by Sandeep Bhardwaj | Tags:


By Default MySQL server is started automatically after installation. Wd can check/verify the status of the MySQL server with the following command:

sudo service mysql status

Stop the MySQL server with the following command:

sudo service mysql stop

To restart the MySQL server, use the following command:

sudo service mysql start