how to stop mysql service in linux code example
Example 1: start stop mysql linux
service mysql start
service mysql stop
service mysql restart
Example 2: stop mysql ubuntu
sudo stop mysql # The service must be running
service mysql start
service mysql stop
service mysql restart
sudo stop mysql # The service must be running