Contact sales@posahosting.com
Guides / Web Hosting Help / Create a MySQL database in DirectAdmin

Create a MySQL Database in DirectAdmin

Applications such as WordPress, Joomla, and custom PHP projects need a MySQL database and a dedicated user with access to it. DirectAdmin bundles both into a single creation flow.

1. Sign in to DirectAdmin

Open your panel—typically at yourdomain.com:2222—and authenticate with your hosting credentials.

PosaHosting shortcut

Open the control panel in one click from My Account

2. Open MySQL Management

  1. Scroll to the Account Manager section on the dashboard.

  2. Click MySQL Management.

3. Create the Database

  1. Click Create new Database.

  2. Choose a name for the database and its primary user. DirectAdmin may prefix both with your account username.

  3. Enter a strong password in the Database Password field.

  4. Click Create Database.

Record the database name, username, password, and hostname (usually localhost)—your application installer will ask for them.

4. Add Extra Users (Optional)

Some setups require separate database users with limited privileges:

  1. Return to MySQL Management and select the target database.

  2. Click Create New User.

  3. Enter a username and password for the additional user.

  4. Click Create.

5. Adjust Privileges (Optional)

  1. In MySQL Management, select the database whose permissions you want to change.

  2. Click Modify Privileges beside the relevant user.

  3. Enable or disable specific rights—SELECT, INSERT, UPDATE, DELETE, and others as needed.

  4. Click Save.