# Create a database
Source: https://docs.infraista.com/en/data-storage/databases/create-a-database



**Before you start:** you need permission to create databases (Owners, Admins and Developers by default).

Go to **Data & Storage › Databases** and select **Create database**. The page has three steps, with a
live summary and price on the right.

## 1. Engine and plan [#1-engine-and-plan]

Pick the **Engine**: **PostgreSQL**, **MySQL** or **MariaDB**, and its **Version**. Minor updates are
applied for you.

<Shot name="data-storage/databases/create-engine" alt="The Engine step: PostgreSQL, MySQL and MariaDB with their version ranges and the version dropdown" />

Then pick a **Plan**: its vCPU, memory and storage, with the monthly and hourly price. **General** plans
suit most apps; **Memory optimized** plans give more memory per vCPU.

<Shot name="data-storage/databases/create-plan" alt="The Plan step: plan cards from Micro to Pro Max with vCPU, memory, storage and price" />

Select **Next: region**.

## 2. Region [#2-region]

Pick the region closest to your app servers. The price is the same everywhere. Select **Next: name and
review**.

## 3. Name and review [#3-name-and-review]

* **Database name**: 2 to 32 lowercase letters, numbers and dashes, starting with a letter. It becomes
  part of the host name and can't be changed later.
* **Project** (optional): groups costs on invoices.

Check the review and select **Create database**. **View as code** shows the same request as an API call.

## Check that it worked [#check-that-it-worked]

The database shows **Creating** for a few minutes; the page updates on its own. When it's **Running**,
open **Connection** for its host, port, user and password. See
[Connect to a database](/en/data-storage/databases/connect-to-a-database).

## Related [#related]

* [Connect to a database](/en/data-storage/databases/connect-to-a-database)
