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