Introduction
Sometimes we need to restart MySQL for either a configuration change or for regular maintenance. In this article, we will go through some of the more common ways to restart MySQL with cPanel.
Procedure
The main recommended way to restart MySQL with cPanel will be through WHM while logged in as root. To restart MySQL through WHM, you can do so through Home >> Restart Services >> SQL Server (MySQL)
However, if you are wanting to restart through SSH while logged in as root, you can restart MySQL though our scripts with the following command:
/scripts/restartsrv_mysql