Plesk

Cannot restart MySQL/MariaDB service from Plesk administrator panel on Linux

Question

Why is not it possible to restart MySQL/MariaDB service from the Plesk administrator panel on Linux? How to restart 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:

  1. Connect to Plesk server via SSH

  2. Restart MySQL/MariaDB service:

    # service mysql restart || service mariadb restart || service mysqld restart 

Exit mobile version