> For AI agents: the complete documentation index is available at /llms.txt, the full documentation bundle is available at /llms-full.txt.

# How to Create a Database in DirectAdmin

:::info

If you are using the Standard Theme in DirectAdmin, switch to the Refreshed Theme by following [How to Change Theme or Layout on DirectAdmin](/directadmin/directadmin_ui_customization/how_to_change_theme_or_layout_on_directadmin.md)

:::

## In the Standard Theme


Click here to show the steps

### Log in to DirectAdmin
Log in to the DirectAdmin control panel.
### Open MySQL Management
Navigate to **Account Manager** → **MySQL Management**.
<img alt="MySQL Management option in DirectAdmin Standard Theme" src={image0} />
### Create a new database
Click **Create New Database**.
<img alt="Create New Database option in DirectAdmin Standard Theme" src={image1} />
### Enter database details
Set the database name, username, and password.
<img alt="Database creation form in DirectAdmin Standard Theme" src={image2} />
The following details are required:
1. **Database Name:** The name assigned to the database. You will need this when configuring your application to connect to MySQL. For example, `mydatabase` or `database1`.
2. **Database User:** The username used to authenticate access to the database. For example, `dbuser` or `user1`.
3. **Database Password:** The password used to authenticate access to the database. We recommend using a strong password.
Click **Create Database** to create the database.
### View database details
Once the database is created, DirectAdmin displays the details of the newly created database account.
<img alt="Newly created database account details" src={image3} />

## In the Refreshed Theme


### Log in to DirectAdmin
Log in to the DirectAdmin control panel.
### Open MySQL Management
Navigate to **Account Manager** → **MySQL Management**.
<img alt="MySQL Management option in DirectAdmin Refreshed Theme" src={image4} />
### Create a new database
Click **Create New Database**.
<img alt="Create New Database option in DirectAdmin Refreshed Theme" src={image5} />
### Enter database details
Set the database name, username, and password.
<img alt="Database creation form in DirectAdmin Refreshed Theme" src={image6} />
The following details are required:
1. **Database Name:** The name assigned to the database. You will need this when configuring your application to connect to MySQL. For example, `mydatabase` or `database1`.
2. **Database User:** The username used to authenticate access to the database. For example, `dbuser` or `user1`.
3. **Database Password:** The password used to authenticate access to the database. We recommend using a strong password.
Click **Create Database** to create the database.
### View database details
Once the database is created, DirectAdmin displays the details of the newly created database account.
<img alt="Newly created database account details" src={image7} />
