Articles in this section

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

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:

  1. Connect to Plesk server via SSH

  2. Restart MySQL/MariaDB service:

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

Was this article helpful?

Comments

2 comments
Date Votes
  • The command line doesn't work.

    0
  • Yes it works, many thanks. Useful for empty Mysql RAM once in a while, I do it every 2-3 months.

    0

Please sign in to leave a comment.