If your website reports damaged tables (for example in WordPress: "One or more database tables are unavailable"), check the database first – you can do this in cPanel with one click. If the error is "Error establishing a database connection", the website cannot connect to the database at all – check the connection details instead (see the article “How to connect to a MySQL database – connection details”); checking and repairing will not help here.

Log in to cPanel – see the article “1.2. Logging in to cPanel”. In the “Databases” section of cPanel, open “Manage My Databases”.

1Check or repair

In “Modify Databases”, choose the database under “Check Database” and click “Check Database”. If the check finds errors, choose the same database under “Repair Database” and click “Repair Database”.

Repairing changes data, so make a copy first. For WordPress tables (InnoDB), repairing is often not supported – in that case, restore the database from a backup (see the article “5.3. Restoring a database from a backup”).

Check or repair

2Review the result

“Check Complete” means that the check is finished. Any problems found are shown on the page. Click “Go Back” to return.

Review the result
  • Make a copy of the database before making changes – see the article “Exporting and importing a database with phpMyAdmin”.
  • If repairing does not help, the database can be restored from our backups – see the article “5.3. Restoring a database from a backup”.

If you run into any difficulties, just write to us and we will help. support@area.lv

Was this answer helpful? 0 Users Found This Useful (0 Votes)