Most dynamic websites, including WordPress, store their content in a MySQL database. If you install an app with Softaculous, the database is created for you. For your own code, or a manual install, create one like this.
Create the database
- Open DirectAdmin from your service page (one-click login).
- Go to Account Manager → MySQL Management and choose Create new database.
- Enter a database name and a username. DirectAdmin adds your account name in front of both, for example
yourname_shop. - Generate a strong password and copy it now.
- Create it.
Connect your app
Use these details in your app's configuration file (for example WordPress's wp-config.php):
| Setting | Value |
|---|---|
| Database host | localhost |
| Database name | the full name, including your account prefix |
| Username | the full username, including the prefix |
| Password | the one you just set |
Manage it with phpMyAdmin
In MySQL Management, choose phpMyAdmin to browse tables, run queries, and import or export .sql files. To import a database from your old host, open the database in phpMyAdmin and use Import.
Limits and backups
Your plan sets how many databases you can create; see the plan comparison. Databases are included in your daily backups.
Open a ticket and a real person will help you, any time of day.
Open a ticket Other ways to reach us