kb: how-to
Plesk for Linux
ABT: Group A
Applicable to:
- Plesk for Linux
Question
Why can’t the MySQL/MariaDB service be restarted from the Plesk administrator panel on Linux, and how to do it from the command line?
Answer
MySQL/MariaDB service is critical for the work of Plesk. If MySQL/MariaDB is stopped via the Plesk administrator panel, Plesk will immediately become inaccessible and there will be no way to start it back from the administrator panel. To avoid this, managing MySQL/MariaDB service is only allowed from the command line.
To restart MySQL/MariaDB service:
-
Connect to Plesk server via SSH
-
Restart MySQL/MariaDB service:
# service mysql restart || service mariadb restart || service mysqld restart
Comments
The command line doesn't work.
Yes it works, many thanks. Useful for empty Mysql RAM once in a while, I do it every 2-3 months.
Please sign in to leave a comment.