mysql restart service ubuntu code example
Example 1: ubuntu restart mysql
sudo service mysql restart
Example 2: how to restart mysql in linux
## mariadb ##
systemctl start mariadb
## mysql
systemctl start mysqld
sudo service mysql restart
## mariadb ##
systemctl start mariadb
## mysql
systemctl start mysqld