Questions? Feedback? powered by Olark live chat software
Knowledgebase
Author Avatar

Plesk MySQL check from console

Written by: on 04 April 2020 10:56 AM 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