How Do I Repair All MySQL Data Bases via SSH running Linux with Plesk Panel

Follow

How Do I Repair All MySQL Data Bases via SSH running Linux with Plesk Panel

 

  • Log Into SSH
  • Run the following Command as ' root '

# mysqlcheck -u admin -p`cat /etc/psa/.psa.shadow` --auto-repair --all-databases

 

  • After Repairing MySQL its a Good idea to Run ' Optimize '

# mysqlcheck -u admin -p`cat /etc/psa/.psa.shadow` --optimize --all-databases

 

Done!

Have more questions? Submit a request

Comments

Powered by Zendesk