Knowledge Base
Creating a database for your website
Dynamic sites such as WordPress store content in a MySQL database.
- Log into DirectAdmin and open MySQL Management under Advanced Features.
- Click Create New Database.
- Enter a name, a database user and a strong password, then click Create.
- Write down the database name, user and password. Your site's configuration file needs them.
The host is normally localhost.
See Connecting a website to your database and Troubleshooting database connection errors.