stop mysql server ubuntu command code example
Example 1: stop mysql ubuntu
sudo /etc/init.d/mysql stop
Example 2: stop mysql ubuntu
sudo stop mysql # The service must be running
sudo /etc/init.d/mysql stop
sudo stop mysql # The service must be running