---
title: How do I create a MySQL database in DirectAdmin?
description: "Most web applications (like WordPress) need a MySQL database to store their content. You can create one easily in DirectAdmin. **Steps to create a database:** 1. Log in to **DirectAdmin**. 2. Under the **Account Manager** section, click on **MySQL Management**.…"
url: "https://disoh.com/support/how-do-i-create-a-mysql-database-in-directadmin/"
updated: "2025-08-28"
category: Webhosting
---

# How do I create a MySQL database in DirectAdmin?

Most web applications (like WordPress) need a MySQL database to store their content. You can create one easily in DirectAdmin.

**Steps to create a database:**

1. Log in to **DirectAdmin**.
2. Under the **Account Manager** section, click on **MySQL Management**.
3. Click **Create new Database**.
4. Enter the following details:
   - **Database Name** → choose a short name (e.g. `wp` for WordPress).
   - **Database Username** → pick a username (DirectAdmin will prefix it).
   - **Password** → create a strong password, or use the generator.
5. Click **Create Database**.

**Database details**
After creation, you will see:

- **Database Name**
- **Username**
- **Password**
- **Host:** usually `localhost`

Keep these details safe — you’ll need them when installing WordPress or other apps.

**Managing your database**

- Use **phpMyAdmin** (accessible via DirectAdmin) to manage tables and run queries.
- Always back up your database before making changes.

**Need help?**
If you have trouble connecting to your database or see errors during installation, please [open a support ticket](https://my.disoh.com/submitticket.php?utm_source=chatgpt.com) or email **support@disoh.com** for assistance.
