SQL Importer
Create a new MySQL/MariaDB database and user for a hosted domain, and load an existing
.sqlfile into it, all in one step.
| Location | Home » Databases » SQL Importer |
| Category | Databases |
| Required fields | SQL File Path, Domain, Database Name, Database Username, Password |
| Command line | /go/sql |
| Last updated | 2026-11-23 |
On this page: Overview · Quick start · Fields · Troubleshooting · Details · See also
Overview
SQL Importer is the form you use to restore or migrate a database from a SQL dump. In one step it:
- creates a new database for the selected domain
- creates a database user with the password you choose
- imports the contents of the
.sqlfile you point to
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.
[!TIP] To create an empty database without importing anything, use MySQL Databases. To import into a database that already exists, see Import into an existing database.
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.
Troubleshooting
| Symptom | Likely cause | Fix |
|---|---|---|
| The form won't submit | The password doesn't meet the rules. | Use at least 8 characters with a lowercase letter, an uppercase letter, and a number. |
| The file can't be found | The path is wrong or the file hasn't been uploaded. | Select the file from the folder list so the path is filled in for you, or upload it with the File Manager first. |
| The import fails partway | The dump is incomplete, damaged, or written for a different database server. | Re-export the dump and try again. Check the database afterwards with Repair MySQL Database. |
| The domain you need isn't listed | The domain isn't hosted on this server. | Add it first. See Create Account or Addon Domains. |
Details
Import into an existing database
This form always creates a new database and user. To load a dump into a database that already exists, use the command line:
/go/import
For the full syntax, arguments, and examples, see the command reference: https://www.goadmio.com/commands/import
Import from the command line
The same create-and-import workflow is available as a /go/... command:
/go/sql
For the full syntax, arguments, and examples, see the command reference: https://www.goadmio.com/commands/sql
After the import
| Task | Page |
|---|---|
| Browse or edit the data | phpMyAdmin or Adminer |
| View all databases and their users | MySQL Databases |
| See how tables relate | Database Map Tool |
| Fix damaged tables | Repair MySQL Database |
| Copy the database to another database | Clone Database |
See also
| Page | Description |
|---|---|
| MySQL Databases | Create and manage databases and users |
| phpMyAdmin | Manage databases in the browser |
| Adminer | Lightweight database manager |
| Repair MySQL Database | Repair damaged tables |
| Database Map Tool | Visualise table relationships |
| Clone Database | Duplicate a database |
| File Manager | Upload the SQL file |
| SQLite Databases | Manage SQLite database files |