systemctl mysql service resstart code example Example: ubuntu restart mysql sudo service mysql restart