How to Start, Stop, and Restart MySQL Server in Linux

restart mysql

In this post we will discuss some commands about MySQL server.

Start MySQL Server :

sudo /etc/init.d/mysql start

Stop MySQL Server :

sudo /etc/init.d/mysql stop

Restart MySQL Server :

sudo /etc/init.d/mysql restart

Status MySQL Server :

sudo /etc/init.d/mysql status

If MySQL is running then output is ……..

OUTPUT :

If MySQL is not running then output is ……….

OUTPUT :

Leave a Reply

WC Captcha 95 − = 92