restart mysql server command line linux code example
Example 1: mysqld restart
sudo /etc/init.d/mysql restart
Example 2: restart mysql server ubuntu
service mysqld restart
sudo /etc/init.d/mysql restart
service mysqld restart