> ## Knowledge Base Index
> Fetch the complete knowledge base index at: https://help.ex2.com/sitemap.xml
> Use this file to discover available pages before exploring further.
> Pure-Markdown content can be obtained by appending a '.md' suffix to the content URLs listed in the sitemap (without the trailing slash).

# How to repair a MySQL database?

[MySQL](https://help.ex2.com/en/article/what-is-mysql-1keq6x7/?bust=1784209103272) is a popular relational [database](https://help.ex2.com/en/article/what-is-a-database-1re36hx/?bust=1784817086124) management system (RDBMS), offering a variety of practical tools. It can be used to create, edit and extract data from relational databases. To do this, it uses the SQL programming language. It can also be used to control each user’s access to a database.

However, there may be a problem with your databases. In this case, you may have to repair them. Fortunately, the process is very simple and easy to perform.

# Here are the steps to repair a MySQL database:

1.  [Log into your cPanel interface](https://help.ex2.com/en/article/how-to-log-in-to-my-cpanel-account-xyoqm0/?bust=1676305236426)  (via your customer account or https://www.bmoname.com:2083).

2. In the **Databases** section of your control panel, click the **MySQL Databases** icon (or **MySQL Databases**).

![](https://storage.crisp.chat/users/helpdesk/website/52421894134f0400/mysqldatabase2_fsy7d0.jpg)

3. In the **Edit Database** section, first click the Check Database button. MySQL will then identify potential errors in it.

![](https://storage.crisp.chat/users/helpdesk/website/52421894134f0400/mysqldatabase4_10ps996.jpg)

4. Then click the Repair Database button just below the previous one to start the repair process.

5. Once the process is complete, a notification will inform you of the success of the repair.

![](https://storage.crisp.chat/users/helpdesk/website/52421894134f0400/mysqldatabase5_ovovba.jpg)