Like other control panels, such as cPanel or Plesk, Virtualmin provides a user-friendly interface to create and manage MySQL databases. To create a new database within Virtualmin, please refer to the following steps.
Login to Virtualmin
Select the domain for which you'd like to create the database from the dropdown box
Click Edit Databases
Select Create a new database.
Enter in the name for your database
Under Database server type, select the type of database this will be. If you're not sure, then use MySQL.
Note: This method of creating a database in Virtualmin will automatically add the Virtualmin user that was used to create the database to that database with all permissions.