Pages

Tuesday, October 22, 2013

Stop, Start, Restart, Status of MySQL server



I've tired many commands, I find these to work the best using the Sys-V init scripts located in /etc/init.d.

Start:
sudo /etc/init.d/mysql start
Stop:
sudo /etc/init.d/mysql stop
Restart / reload configs:
sudo /etc/init.d/mysql restart
Check run status:
sudo /etc/init.d/mysql status

No comments:

Post a Comment