how to stop and restart mysql server in windows code example Example: start stop mysql linux service mysql start service mysql stop service mysql restart