- 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?
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.
In order to manage MySQL service:
Note: the service name can differ (
mariadb ) depending on the operating system and MySQL server distribution.
Connect to the server via SSH
Use one of the following commands:
# service mysql stop
# service mysql start
# service mysql status