How to repair mysql with Plesk (Onyx) Repair Utility

With Plesk repair utility you can easily check and repair the Mysql Databases servers , it verifies the integrity of MySQL databases and database users. Use the following commands accordingly.

  1. Login to your Plesk Onyx server with root user

  2. In order to Check the availability of MySQL database servers and verify the integrity of MySQL databases and database user use the command as

    plesk repair mysql




  1. In order to Check that the MySQL database servers registered in Plesk are available and can be connected to use the command as

    plesk repair mysql -connection




  1. In order to Check that all MySQL database users created in Plesk exist on the database servers. Checks database users' privileges and corrects them in case of discrepancies. Recreates any database users that are missing with the command

    plesk repair mysql -database-users