Fixed restarting service mysql.