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.

Viewing your databases

Click View Databases in the Database section of the sidebar.

Nexus Control Panel Databases page listing database accounts with Edit, Import, Export and Delete actions and Database Server Information
Database Accounts and Database Server Information

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

ServiceAddressNotes
phpMyAdminLink is in the control panelBrowser-based tool to browse tables, run SQL queries and repair databases. Sign in with your database username and password.
MariaDB 10.5mariadb-au2.nexusdigital.net.auIPv6
MariaDB 10.1mariadb-au1.nexusdigital.net.auIPv4

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

  1. Click New Database in the sidebar (or + New Database).
  2. Enter a Database Name.
  3. Choose the Type, i.e. the database server, such as mariadb-au2 (MariaDB 10). Choose the newest version your application supports.
  4. Enter a Username for the database user.
  5. A strong Password is generated for you. Copy it somewhere safe, such as a password manager, or replace it with your own strong password.
  6. Click Create.
Nexus Control Panel Create New Database form with Database Name, Type, Username and Password fields
Creating a new database (password hidden)
Tip: Installing WordPress or OpenCart from Auto Install Software creates the database for you. You only need to create one manually for custom applications or migrations.

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.

Nexus Control Panel Edit Database form with Database Name, Type, Username and Password
Editing database settings
The Type can't be changed after the database is created. To move to a different database server, create a new database, export and import the data, then update your application's settings.
Changed the password? Update it in your application straight away (e.g. 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.

  1. Click Import next to the database.
  2. Click Choose File under Select SQL File and choose your .sql file.
  3. Click Import. This may take a few minutes for large files.
Nexus Control Panel Import Database page with warning and Select SQL File
Importing a SQL file
Read before importing:
  • 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 USE statement, 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:

Deleting a database

Click Delete next to a database and confirm. This frees up a database on your plan.

Deleting a database is permanent and immediately breaks any website that uses it. Always export the database first and make sure no website depends on it.