You can find the start/stop scripts in the /etc/init.d location in your server.
You can run below command to start your Mysql:
Similarly, you can run below command to stop mysql server:
In cpanel server your restart script location is /scripts/restartsrv
You can run this command to restart your Mysql server:
You can run below command to start your Mysql:
Code:
/etc/init.d/mysql start
Code:
/etc/init.d/mysql stop
You can run this command to restart your Mysql server:
Code:
/scripts/restartsrv/ mysql