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

0
311
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.

How 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 server.

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

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

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

 

 

LEAVE A REPLY

Please enter your comment!
Please enter your name here