# How to Repair a Database via phpMyAdmin in cPanel

To repair your database, follow these steps:

* Log in to your **cPanel account**.
* In the **Databases** section, click on **phpMyAdmin**.

<figure><img src="https://3645136414-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FIcJwwORgqOz8NHr15WEz%2Fuploads%2FLi9s9QFdgbiFICxdX0eK%2Fimage.png?alt=media&#x26;token=79bb4899-8f20-4df6-af4e-71d5d7c7a9bd" alt=""><figcaption></figcaption></figure>

* Click the **Expand** icon from the navigation tree in the left sidebar.

<figure><img src="https://3645136414-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FIcJwwORgqOz8NHr15WEz%2Fuploads%2F9Jzzv1SJ6nfQbCj0QdhU%2Fimage.png?alt=media&#x26;token=00f27e78-0d2d-4db8-856d-28d1401ec5e5" alt=""><figcaption></figcaption></figure>

* Scroll down and mark **Check All**.
* Click on the drop-down arrow and select **Repair table**.

<figure><img src="https://3645136414-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FIcJwwORgqOz8NHr15WEz%2Fuploads%2FwJxh5OdYDeFPDXxfudgT%2Fimage.png?alt=media&#x26;token=067f524a-8a41-4010-bd72-0a3fc7cb2c13" alt=""><figcaption></figcaption></figure>

{% hint style="info" %}
If the table has been repaired successfully, you will see an "OK" message. Otherwise, an error will be displayed for some tables.
{% endhint %}


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.clouduxe.com/databases/how-to-repair-a-database-via-phpmyadmin-in-cpanel.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
