Skip to main content
Version: 2.0.12

Import

Import tables into a MySQL database using a .sql export file, for example one made with Export on the Databases page. This feature is useful for restoring backups, migrating data, or setting up initial database structures.

To import tables into a database, navigate to OpenPanel > MySQL > Import:

  1. Select a Database
    Choose the target database into which you want to import the tables.

  2. Select a File
    Click the Select button to choose a .sql (or .sql.gz) export file from your device.

  3. Upload
    Click the Upload button and wait for the import process to complete.

Import into Database form with a database dropdown and a file picker for the .sql file Import into Database form with a database dropdown and a file picker for the .sql file

If your SQL file is larger than 1 GB, we recommend using the Containers > Terminal interface instead for more reliable import handling.