Knowledgebase
Knowledgebase
Plesk MySQL check from console
Posted by Ilya Vasilenko on 04 April 2020 10:56 AM

If you need to check and repair all database you need MySQL root password which is unknown to user when running Plesk.

Here is how to do that:

mysqlcheck -uadmin -p`cat /etc/psa/.psa.shadow` --auto-repair -A

Please note, no space after "-p" and back quotes are important!

 

(0 vote(s))
Helpful
Not helpful