Introduction

Sometimes, we need to restart MySQL for a configuration change or regular maintenance. This article provides the procedure to restart MySQL from the command line.

 

Procedure

  1. Access the server's command line as the 'root' user via SSH or "Terminal" in WHM.
  2. Run the following command.
    /scripts/restartsrv_mysql

     

Additional resources

How to restart MySQL from WHM