MySQL must be restarted from time to time, either to accommodate a configuration change or to perform routine maintenance. Let us go over some of the more common methods for restarting MySQL with cPanel, starting with the most basic.
In order to restart MySQL with cPanel, the most recommended method will be to do so through WHM while logged in as root. If you want to restart MySQL through WHM, go to Home >> Restart Services >> MySQL Restart Service. SQL Server is a database management system (MySQL)
You can, on the other hand, restart MySQL through cPanel scripts with this command if you want to do so while logged in as root via SSH: