Create a database in DirectAdmin only if your hosting plan includes databases. ArkHost Static plans do not include them.
Create the database
- Open Account Manager → MySQL Management.
- Select Create New Database.
- Enter a database name and a database username, or use the option offered to give them the same name.
- Generate a strong, unique password and save the details securely.
- Create the database and copy the complete names shown in the confirmation.
DirectAdmin normally prefixes database and user names with your hosting username. The database name and database username do not have to match.
Connect an application
Use the complete database name, assigned username, password and database host supplied for your service. Locally hosted applications commonly use localhost. If access is denied, check the credentials and the user's privileges on that database. Follow the name limits displayed by your panel rather than assuming a fixed limit applies to every server.