How to start/stop MySQL service in Linux VPS?

kumkumsharma

Administrator
Staff member
To manage MySQL service it is must to have root SSH access.

To stop MySQL service you can run below command:

service mysql stop OR /etc/init.d/mysql stop

To start MySQL service you can run below command

service mysql start OR /etc/init.d/mysql start

To restart MySQL service you can run below command

service mysql restart OR /etc/init.d/mysql restart

You can check MySQL server status

service mysql status
 
Top