--- title: "How Do I Repair All MySQL Data Bases via SSH running Linux with cPanel" slug: "how-do-i-repair-all-mysql-data-bases-via-ssh-running-linux-with-cpanel" updated: 2026-07-08T01:35:01Z published: 2026-07-08T01:35:01Z canonical: "docs.serversaustralia.com.au/how-do-i-repair-all-mysql-data-bases-via-ssh-running-linux-with-cpanel" --- > ## Documentation Index > Fetch the complete documentation index at: https://docs.serversaustralia.com.au/llms.txt > Use this file to discover all available pages before exploring further. # How Do I Repair All MySQL Data Bases via SSH running Linux with cPanel > [!WARNING] > This is an advanced task requiring SSH access and command line familiarity > > Incorrectly running commands without knowing what they do or how they function could affect your server, even leaving in an unusable state requiring a reinstall. Only run commands if you have experience, or reach out to our Support Team if you need help. ## For all Databases 1. Log in via SSH as **root** 2. Run the following Command: ```plaintext mysqlcheck --all-databases -r ``` ## For a single database ```plaintext mysqlcheck -r database_name ```