suod stop mysql service code example
Example 1: start mysql server linux terminal
sudo /etc/init.d/mysql start
or
systemctl start mysql.service
Example 2: mysql stop ubuntu
service mysqld stop
sudo /etc/init.d/mysql start
or
systemctl start mysql.service
service mysqld stop