> ## Knowledge Base Index
> Fetch the complete knowledge base index at: https://help.vibegames.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 import an SQL file via HeidiSQL


Importing a `.SQL` file is a straightforward process. This guide will show you how to do it step by step.

---

### Database Management Tools
You can use various tools to manage databases. Here are some popular options:

- [HeidiSQL](https://www.heidisql.com/download.php) - Free
- [Navicat](https://www.navicat.com/en/download/navicat-for-mysql) - Paid, with a trial available

For this tutorial, we’ll use the free **HeidiSQL** tool.

---

### 1. Locate Your Database Credentials
- In your control panel, click on **Databases**.

![](https://storage.crisp.chat/users/helpdesk/website/ad38b4a7e4ed0000/image_1hxjm3w.png)

- Click on the **eye** icon to view your database credentials.

![](https://storage.crisp.chat/users/helpdesk/website/ad38b4a7e4ed0000/image_16rghl8.png)

---

### 2. Open HeidiSQL and Create a Connection
1. Launch **HeidiSQL**.
2. If you don’t have an existing connection, click on the **New** button to create one.

![](https://i.imgur.com/8ev8y73.png)

3. Enter the following details from your database credentials:
   - **Hostname**  
   - **User**  
   - **Password**  
   - **Port**  
4. Click **Open** to connect.

![](https://i.imgur.com/qQnvoMV.png)

---

### 3. Select Your Database
- Once connected, click on your **database name** to open it.

![](https://i.imgur.com/yaHkkIs.png)

---

### 4. Import the .SQL File
1. Click on the **Query** tab.

![](https://i.imgur.com/6ZO8xkZ.png)

2. Right-click on the empty text field and select **Load SQL File**.  

![](https://i.imgur.com/n43vVDz.png)

> Alternatively, you can copy and paste the content of the `.SQL` file directly into the text field.

---

### 5. Execute the SQL Queries
1. Open the `.SQL` file you want to import.

![](https://i.imgur.com/SS9aJC7.png)

2. Click the **Play** button or press `F9` to execute the queries.

![](https://i.imgur.com/c9suglk.png)

---

### Notes
- The `.SQL` file will now import.  
- If you encounter an error message, it indicates an issue with the queries in the `.SQL` file. Review the file and fix any errors before retrying.

---

By following these steps, you can easily import a `.SQL` file into your database using HeidiSQL. If you need further assistance, feel free to contact our support team!
