mysql stop ubuntu code example
Example 1: start mysql server ubuntu
sudo service mysql-server
Example 2: mysql stop ubuntu
service mysqld stop
Example 3: stop mysql ubuntu
sudo stop mysql # The service must be running
sudo service mysql-server
service mysqld stop
sudo stop mysql # The service must be running