Databases, phpMyAdmin, Import & Export
Databases store the content and settings of applications such as WordPress and OpenCart. The Database section lets you create, edit, import, export and delete MariaDB and MySQL databases, and open phpMyAdmin.
On this page
Viewing your databases
Click View Databases in the Database section of the sidebar.
The Database Accounts table shows each database's name, username, type (e.g. MariaDB 10), the server it lives on and the date it was created, with Edit, Import, Export and Delete actions.
Database server information
| Service | Address | Notes |
|---|---|---|
| phpMyAdmin | Link is in the control panel | Browser-based tool to browse tables, run SQL queries and repair databases. Sign in with your database username and password. |
| MariaDB 10.5 | mariadb-au2.nexusdigital.net.au | IPv6 |
| MariaDB 10.1 | mariadb-au1.nexusdigital.net.au | IPv4 |
Use the server shown in the Server column for your database as the database host in your application, e.g. DB_HOST in WordPress's wp-config.php.
Creating a new database
- Click New Database in the sidebar (or + New Database).
- Enter a Database Name.
- Choose the Type, i.e. the database server, such as
mariadb-au2(MariaDB 10). Choose the newest version your application supports. - Enter a Username for the database user.
- A strong Password is generated for you. Copy it somewhere safe, such as a password manager, or replace it with your own strong password.
- Click Create.
Editing a database
Click Edit next to a database to update its settings, such as changing the password. Enter a new Password and click Update.
DB_PASSWORD in wp-config.php), or your website will show "Error establishing a database connection".Importing a SQL file
Import loads a .sql file, such as a backup or a database from another host, into an existing database.
- Click Import next to the database.
- Click Choose File under Select SQL File and choose your
.sqlfile. - Click Import. This may take a few minutes for large files.
- The existing data could be lost, as the import may overwrite existing tables. Export the database first.
- Do not change the selected database in the SQL script with a
USEstatement, as it will stop the script, unless it is selecting the same database. - The file name cannot be longer than 200 characters.
Exporting a database
Click Export next to a database to download a complete SQL backup to your computer. Export:
- before WordPress, plugin or OpenCart updates
- before importing data or deleting anything
- regularly, alongside a Zip Website Files backup, so you have a full copy of your site
Deleting a database
Click Delete next to a database and confirm. This frees up a database on your plan.
