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

  1. # /etc/init.d/mysqld stop

Start MySQL Server

  1. # /etc/init.d/mysqld start

Restart MySQL Server

  1. # /etc/init.d/mysqld restart

Hope you find this small tip useful.

Who's Online

We have 43 guests and no members online

TMN Trending Hashtags

There are no trending hashtags at this moment.

TMN Discussions

TMN Events Calendar