# MySQL importeren

Net zoals het exporteren van je database naar een andere server, is het importeren ervan ook cruciaal om ervoor te zorgen dat je website probleemloos draait. Om het importproces soepeler te laten verlopen moet je al een nieuwe database hebben aangemaakt met alle benodigde databasestructuren. Het importeren kan worden uitgevoerd via phpMyAdmin in cPanel. Als alternatieve methode is het ook mogelijk om databases te importeren via de command line (SSH).

### Importeren van MySQL database via phpMyAdmin

1. Log in op je cPanel account.&#x20;
2. Navigeer naar **databases.**&#x20;
3. Klik op **phpMyAdmin**. Je ziet de lijst met beschikbare databases, klik op het **+-knopje** voor de betreffende database.&#x20;
4. Klik bovenaan op **Import**.&#x20;
5. Klik op **Choose file** en selecteer het bestand in .SQL- of .ZIP-formaat vanaf je computer.&#x20;
6. Selecteer het formaat als **SQL** uit de dropdownlijst.&#x20;
7. Klik onderaan op **Go**.


---

# 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://hostingpower.gitbook.io/veelgestelde-vragen/mysql-database/mysql-importeren.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.
