How to restart MySQL as a service on Linux (Ubuntu)
On Ubuntu Linux, if MySQL is running as a service and you need to restart it:
# sudo service mysql restart
The command needed may vary on other Linux distributions.
On Ubuntu Linux, if MySQL is running as a service and you need to restart it:
# sudo service mysql restart
The command needed may vary on other Linux distributions.