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
- Log in to DirectAdmin
- Go to Account Manager → MySQL Management
- Click Create New Database
- Fill in:
- Database Name
- Database User
- Password (use “Generate” for strong security)
- 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.