For storage of data for applications, you must need a Database.
In DirectAdmin, we can perform all the actions using the graphical user interface. Let’s see how to create and manage databases.
1. First, to login into DirectAdmin control panel visit: https://server-hostname:2222
2. Navigate to Account Manager → MySQL Management.
3. To create database → Click on CREATE NEW DATABASE.
4. Here, enter the database name → To create a new user for database → De-select “Same as database name” → Enter the Username → Configure the Password.
5. Finally, click on CREATE DATABASE.
Congratulations! You have successfully created a database and user in DirectAdmin.