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