Our website is in Dutch; support is available in English.

Create a database in DirectAdmin

Create a database for your website and safely store the login details you only see once.

Updated 2 minute read

Contents of this article
  1. Creating a database
  2. Viewing the database in phpMyAdmin
  3. Database limit is reached
  4. If it doesn't work

A website running WordPress, a web shop or another CMS stores its content in a database. You create one yourself in DirectAdmin. Afterwards you have a database with its own user and password, which you enter when installing your website.

The screenshots show a demo domain and demo account; your names start with your own username.

Creating a database

  1. Open Databases

    Open DirectAdmin from the control panel (see Log in to DirectAdmin) and choose Account Manager > Databases in the menu.

  2. Choose a name

    Under Create Database, enter a short name in Database Name (1), for example website. DirectAdmin adds the part in front, your username and an underscore, by itself. A user with the same name and a strong password is created automatically.

    The Create Database form with the Database Name field and the Create button
  3. Click Create

    Click CREATE (2).

  4. Store the details right away

    DirectAdmin shows Database created with the new database's details (3): Hostname, Database, Username and Password. Copy them straight into a password manager or into your website's settings.

    The Database created message with hostname, database name, username and the hidden password

Hostname says localhost: your website runs on the same server as the database. Enter these four details when installing WordPress or another CMS.

Viewing the database in phpMyAdmin

After creation, the database appears in the list, with buttons to manage or delete it. PHPMYADMIN (4) at the top opens phpMyAdmin, where you can browse tables, import data or make an export.

The database list with the new database, the phpMyAdmin button and the message that the limit has been reached

Database limit is reached

Your plan determines how many databases you can create; the control panel shows this on the Webhosting page under Pakket (plan). Once you reach the maximum, DirectAdmin says Database limit is reached and you can't create a new database. Use the existing database, or contact us about a larger plan.

If it doesn't work

If you've lost a database password or get an error when creating one, email support@hostage.nl with your domain, the database name and the exact error message. See also Make and restore a backup before making big changes to a database.

Was this article helpful?

Still stuck?

Send us a message. We will help you, usually within one working day.