# Databases



# Export & Import your SQL Database

## **Step 1: Get Database Connection Details from Pterodactyl Panel**

1. **Log in to Pterodactyl Panel**:
    
    
    - Login into your account on the [panel](https://panel.alienhost.net/), if you haven't
2. **Access the Server’s Database**:
    
    
    - Go to the server where the database is allocated at.
    - Find and click on the "Databases" tab on the navigation menu.[![image.png](https://help.alienhost.net/uploads/images/gallery/2025-07/scaled-1680-/OxBimage.png)](https://help.alienhost.net/uploads/images/gallery/2025-07/OxBimage.png)

Here, to export/import a database file (.sql format), click on one of the 2 buttons.

[![image.png](https://help.alienhost.net/uploads/images/gallery/2025-07/scaled-1680-/Ja7image.png)](https://help.alienhost.net/uploads/images/gallery/2025-07/Ja7image.png)

#### **Exporting**

Click on Export `Database to SQL`.

Now select a database to export (here it's s459\_example)

[![image.png](https://help.alienhost.net/uploads/images/gallery/2025-07/scaled-1680-/4Qlimage.png)](https://help.alienhost.net/uploads/images/gallery/2025-07/4Qlimage.png)

Now press `Export Database to SQL` on this pop-up, and it will automatically download for you.

[![image.png](https://help.alienhost.net/uploads/images/gallery/2025-07/scaled-1680-/1osimage.png)](https://help.alienhost.net/uploads/images/gallery/2025-07/1osimage.png)

#### **Importing**

Click on `Import SQL to Database`

You will be prompted to the following pop-up (toggle the options you need)

[![image.png](https://help.alienhost.net/uploads/images/gallery/2025-07/scaled-1680-/eQnimage.png)](https://help.alienhost.net/uploads/images/gallery/2025-07/eQnimage.png)

Click `Import Local SQL into Database`

It will bring a new pop-up where you can find your .sql files on your computer.