Create a database
Newer DirectAdmin version
- Open Account Manager → Databases.
- Find the Create Database form below the database list.
- Enter a short descriptive suffix such as
shop. DirectAdmin automatically adds the account prefix, for examplecompany_shop. - Simple mode automatically creates a user with the same name and a secure password. Enable Advanced Mode for a different username or a manually selected password.
- Click Create and securely store the full database name, username and password.
Older DirectAdmin version
- Open Databases → View More to reach MySQL Management.
- Click Create New Database.
- Enter the Database Name and Database User. The account prefix is added automatically.
- Use Same as database name when appropriate.
- Click Create Database and store the generated credentials.
Names and limits
Always enter the complete name shown by DirectAdmin, not just the suffix. Database and user limits depend on the hosting package.
One application, one user
Use a separate database and user for every independent website. Compromise of one application then does not automatically provide access to every other database.
Deleting a database deletes its data. Verify the name and download an SQL export or use an available Euroserver Backup Manager restore point first.