Skip to main content

Add Database

We currently offer 5 different database types to fulfill various data storage needs:

  • Redis 5.0, 6.x and 7.x
  • MariaDB 10.4, 10.5, 10.6, 11.0 and 11.1
  • PostgreSQL 9.6, 10, 11, 12, 13, 14, 15 and 16
  • MySQL 8.0
  • Valkey 7.2

You attach databases to applications or run databases by themselves.

info

It’s also possible to utilize a Dockerfile and persistent storage to deploy other types of databases on Application Hosting.

Adding a database

To add a database, click the Add database button on the top right side of the Databases page.

The following fields are available with the described effects.

Basic details

Add database details.

Add database details.

  • Name: Your database’s name that you will use to connect to it. By default, this is populated with three random words. Some database names are restricted for security reasons. The full list of invalid database names is shown below.

  • Display name: The name that will be shown in Sevalla. By default, this is populated with the same three random words as the Name.

  • Type and Version: The database software and version you would like to use. Currently, we support:

      • Redis 5.0, 6.x and 7.x
      • MariaDB 10.4, 10.5, 10.6, 11.0 and 11.1
      • PostgreSQL 9.6, 10, 11, 12, 13, 14, 15 and 16
      • MySQL 8.0
      • Valkey 7.2
  • Username: The username you connect to the database with. By default, this is populated with a random word. Once tied to an application, we can auto-populate your environment variables with this data. Some database usernames are restricted for security reasons. The full list of invalid database usernames is shown below.

  • Password: The password you connect to the database with. We recommend leaving this as-is. Once tied to an application, we can auto-populate your environment variables with this data.

  • Data center location: Choose the data center you want to use for this database. By default, this is populated with the location closest to you.

    warning

    Currently, internal connections are only supported between applications and databases in the same region. If you’d like to use a database with your application, you can create the database at Sevalla and use an internal connection between the two (on the application’s Settings page or the database’s Info page).

  • Size: Choose the resources you will need for this database. If you need to increase the size in the future, you can do so within Settings > Edit details.

info

Relational databases such as MariaDB and MySQL organize data in predefined relationships where data is stored in tables (or “relations”) of columns and rows to make it easy to see and understand how different data structures relate to each other. This means the database size includes these relations and, therefore, will always be larger than the actual data in the database.

Summary

Review your database’s monthly usage costs and confirm your payment method, adding a new payment method if needed.

Review and confirm your database’s monthly usage costs and payment method.

Review and confirm your database’s monthly usage costs and payment method.

Click Create database.

Invalid database names and database usernames

Invalid MySQL database names and usernames:

  • mysql
  • information_schema
  • performance_schema
  • sys

Invalid PostgreSQL database names usernames:

  • postgres
  • template0
  • template1
  • information_schema
  • performance_schema
  • sys