How to create a MySQL database in DirectAdmin Print

  • 0

Overview

You can create MySQL databases directly from your DirectAdmin panel. These databases are required for platforms like WordPress, Joomla, Laravel, and custom PHP applications.

Step-by-step: Create a new MySQL database

  1. Log in to DirectAdmin
  2. Go to Account Manager → MySQL Management
  3. Click Create New Database
  4. Fill in:
    • Database Name
    • Database User
    • Password (use “Generate” for strong security)
  5. Click Create

Your database details

After creation, your details will look like this:

Database: username_dbname  
User: username_dbuser  
Password: (the one you set)
Host: localhost

Important notes

  • DirectAdmin automatically adds database prefixes.
  • The database host is always localhost.
  • Use strong passwords to avoid database breaches.
  • Write down your credentials — they are required for CMS installations.

Was this answer helpful?

« Back