how to restart sql server in ubuntu code example Example: ubuntu restart mysql sudo service mysql restart