1. Open the Databases Menu
- Log in to your DirectAdmin hosting panel.
- Under the Account Manager menu, click the Databases icon.

Select Databases under Account Manager
2. Fill Out the Create Database Form
Under the Create Database section:- Database Name: Enter your preferred database suffix (e.g.
tes). Your full database name will automatically include your account prefix (e.g.testing574_tes). - User name: Enter the database username suffix (e.g.
tes). - Password: Enter a secure password for the database user.
- Click the blue CREATE button.

DirectAdmin Create Database form
3. Save Connection Credentials
Once created, a green success banner titled Database created will appear:
Database connection details
Example Configuration in .env:
4. Open & Manage Database in phpMyAdmin
To manage tables, run queries, or import/export.sql dumps:
- On the Databases page, click the blue PHPMYADMIN button in the upper-right corner.
- You will be automatically authenticated (Single Sign-On) into phpMyAdmin without needing to re-enter credentials!
