how to restart mysql server on linux code example
Example 1: ubuntu restart mysql
sudo service mysql restart
Example 2: mysqld restart
sudo /etc/init.d/mysql restart
Example 3: restart mysql server ubuntu
service mysqld restart
sudo service mysql restart
sudo /etc/init.d/mysql restart
service mysqld restart