- Plesk for Linux
Why is it not possible to restart MySQL service from Plesk administrator panel on Linux? How to restart it from the command line?
In order to restart MySQL service:
Connect to the server via SSH
Use one of the following commands:
# service mysql restart || service mariadb restart || service mysqld restart
Note: MySQL service is critical for the work of Plesk. If MySQL is stopped via Plesk administrator panel, Plesk will immediately get inaccessible and there will be no way to start it back from administrator panel, only via the command line. To avoid this, managing of MySQL service is only allowed from the command line.