how to start mysql service in ubuntu code example
Example 1: start mysql server ubuntu
sudo service mysql-server
Example 2: stop mysql ubuntu
sudo /etc/init.d/mysql stop
Example 3: stop mysql ubuntu
sudo stop mysql # The service must be running