15/02/2013 by Nitesh

How to Start-Stop MySQL Server on CentOS Server


Working with Linux Servers and you often need to start/stop/restart services. Many a times we just restart the complete server to restart services. However, restarting the server for restarting services is not recommended and we can restart the services manually via commands as well. This small post is to explain how you can start/stop/restart MySQL server from command line on CentOS Server.

Stop MySQL Server

# /etc/init.d/mysqld stop

Start MySQL Server

# /etc/init.d/mysqld start

Restart MySQL Server

# /etc/init.d/mysqld restart

Hope you find this small tip useful.