How to Start, Stop, Restart your MySQL Server via SSH?

0
3245
Start Stop Restart MySQL server
MySQL server Graphical Illustration

What is MySQL?

MySQL is a freely available Relational Database Management System(RDBMS) and it uses Structured Query Language(SQL). SQL is the most popular language for adding, accessing and managing database contents. It is most noted for its quick processing, proven reliability, ease and flexibility to use.

Command to restart your MySQL Server via SSH:

MySQL can be restarted, stop or start by using commands on the command line. Using SSH, log in to the server as a root user and use the following commands to perform the restart, start and stop MySQL services.

To start and stop the MySQL server, use the commands/etc/init.d/mysql start and /etc/init.d/mysql stop respectively.

To restart the MySQL server, use the command /etc/init.d/mysql restart

The MySQL start or stop services can also be done through WHM interface in Linux servers with the option ‘Service Manager’. The MySQL database servers can be handled either through SSH or WHM control panel.

LEAVE A REPLY

Please enter your comment!
Please enter your name here