How to create a new database

This tutorial covers how you can create a MySQL or PostgreSQL database.

It assumes you have first [logged into Virtualmin](/documentation/tutorial/how-to-log-in).

0. Choose the domain for which you would like to add the database. You can do that by selecting the domain name from the drop-down box on the top-left.

0. Click Edit Databases.

0. Click Create a new database.

0. Choose a name for your database, and enter it in the Database name field.

0. In Database server type, select either MySQL or PostgreSQL. If unsure, use MySQL.

0. Click Create.