SQL Importer is the form you use to restore or migrate a database from a SQL dump. In one step it: Use it when you have a dump from another server, a backup, or a CMS export and want it loaded into a fresh database without opening phpMyAdmin or the command line. GoAdmio is a free, open-source hosting control panel, a drop-in alternative to cPanel and WHM.
Quick start
- Go to Databases » SQL Importer.
- Pick the
.sqlfile in the folder list, or type its full path into SQL File Path. - Choose the Domain the database belongs to.
- Enter a Database Name and a Database Username.
- Enter a Password that meets the rules below.
- Click Import.
Fields
Source file
The folder list at the top of the form lets you browse the server’s folders. Selecting a file fills in SQL File Path.
| Field | Required | Default | Notes |
|---|---|---|---|
| SQL File Path | Yes | The www folder of the first domain in the list, e.g. /home/example.com/www/ |
Full path to the .sql file on the server. Max 255 characters. Upload the file first with the File Manager or FTP. |
Database
| Field | Required | Default | Notes |
|---|---|---|---|
| Domain | Yes | First domain in the list | The hosted domain that will own the database. The list shows every domain on the server. |
| Database Name | Yes | None | Name of the new database. Max 100 characters. |
| Database Username | Yes | None | Name of the new database user. Max 100 characters. |
| Password | Yes | None | Password for the database user. Hidden as you type. Max 100 characters. |
Password rules. The password must be at least 8 characters long and contain at least one lowercase letter, one uppercase letter, and one number. The browser blocks the form until the password meets these rules.
[!NOTE]
Unlike Create Account, the password field here is masked. Store the password somewhere safe before you click Import, because your site’s configuration file will need it.
Running into problems? See troubleshooting SQL Importer.
See the docs page SQL Importer for the details.
GoAdmio is free and open source, with no license fees and no account limits. Read the GoAdmio docs, or see why it is a free cPanel alternative at goadmio.com.
