# Create a database

> Create a PostgreSQL or MySQL database in the portal: location, version, plan, storage and name. It's ready a few minutes later.

Source: https://docs.phluit.com/products/managed-databases/create-a-database/

## Create it

1. Open the create page in the portal:
   - PostgreSQL: [portal.phluit.com/dataflows/db/postgresql/create](https://portal.phluit.com/dataflows/db/postgresql/create)
   - MySQL: [portal.phluit.com/dataflows/db/mysql/create](https://portal.phluit.com/dataflows/db/mysql/create)
2. Choose the **Location**: Falkenstein (Germany) or Helsinki (Finland). It can't be changed later.
3. Choose the **Version**. The newest version is a good default; minor updates are applied for you.
4. Choose a **Plan**: **Shared** or **Dedicated server**, and the size. Add **Storage** if you need more than the plan includes.
5. Give it a **Name**: 3 to 30 lowercase letters, numbers and dashes, starting with a letter.
6. Order it and pay the invoice. Plans are billed monthly, with no setup fee, and you can cancel any time.

A few minutes later the database is ready. While it's being set up, its page says **Almost there: setting up your account and its access**.

## Who can connect at first

At first only the address you ordered from can connect. Databases accept IPv4 addresses only: if you ordered over IPv6, nobody can connect until you add an IPv4 address on the **Trusted sources** tab. Add your servers and your own computer there. See [Trusted sources](/products/managed-databases/trusted-sources/).

## Next

[Connect to your database](/products/managed-databases/connect-to-your-database/).
