Most website software, including WordPress, stores its content in a MySQL database. If you install WordPress with Softaculous, the database is created for you. Follow these steps if you're installing software yourself or moving a website from another host.
DirectAdmin adds your DirectAdmin username to the start of both names, for example yourusername_shop. Copy the full database name, username and password somewhere safe.
Use these details in your website's configuration file, such as wp-config.php for WordPress:
| Setting | Value |
|---|---|
| Database name | The full name, including your username prefix |
| Database username | The full username, including your username prefix |
| Password | The password you set |
| Host | localhost |
From MySQL Management you can:
Deleting a database deletes everything in it permanently, so export a copy first.