# How to Import a Database via phpMyAdmin in cPanel

Follow these steps to import a database using phpMyAdmin:

* 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%2F65ACDHhnJYAaR0iuXBnE%2Fimage.png?alt=media&#x26;token=bad25853-60a5-4cea-924f-406df00c0499" alt=""><figcaption></figcaption></figure>

* From the navigation tree in the left sidebar, select the appropriate database where you want to import data.

<figure><img src="https://3645136414-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FIcJwwORgqOz8NHr15WEz%2Fuploads%2FYpsJYsn95G0zt3xtJBkk%2Fimage.png?alt=media&#x26;token=4880f0fd-9ce7-4b38-96a5-0992408bcf47" alt=""><figcaption></figcaption></figure>

* Click on **Import**.

<figure><img src="https://3645136414-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FIcJwwORgqOz8NHr15WEz%2Fuploads%2FOXhI7jZQf0Jj3k19WU8R%2Fimage.png?alt=media&#x26;token=b55220b7-47bf-4a1d-a635-88cee1127004" alt=""><figcaption></figcaption></figure>

* Under **File to Import**, click on **Browse** and select the SQL file from your computer.

<figure><img src="https://3645136414-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FIcJwwORgqOz8NHr15WEz%2Fuploads%2FT6e4644ydA9W62wvAInv%2Fimage.png?alt=media&#x26;token=84b12574-2317-4655-a78c-765944205086" alt=""><figcaption></figcaption></figure>

* Scroll down and click on **Go**.

{% hint style="success" %}
If you see a success message, your SQL has been successfully uploaded.
{% endhint %}

<figure><img src="https://3645136414-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FIcJwwORgqOz8NHr15WEz%2Fuploads%2FAR62ENVJem1i5V9jkJ1C%2Fimage.png?alt=media&#x26;token=ef84a410-8a77-4f61-b81a-80dd74e73fc5" alt=""><figcaption></figcaption></figure>
