MySQL перезапустить Ubuntu
systemctl restart mysqld
GutoTrosla
systemctl restart mysqld
## mariadb ##
systemctl start mariadb
## mysql
systemctl start mysqld
systemctl restart mysqld
## if your server is named differntly
sudo /etc/init.d/mysql restart
service mysqld restart
service mysql restart