mysql shell start and stop server code example Example: start stop mysql linux service mysql start service mysql stop service mysql restart