How to check and repair all databases in MySQL (Plesk)

server error solutions

#mysqlcheck -uadmin -p`cat /etc/psa/.psa.shadow` --auto-repair --check --optimize --all-databases