- Plesk for Linux
Why is it not possible to restart MySQL service from Plesk administrator panel on Linux? How to restart it from 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
Connect to the server via SSH
Use on of the following commands:
# service mysql start
# service mysql stop
# service mysql status
Note: the service name can differ (
mariadb) depending on the operation system and MySQL server distribution.