Cloud service

MySQL database

You can attach a MySQL database to your service to securely store and retrieve data using SQL.

Configuration as code

To configure a MySQL database in your code editor, use the following variables in the service's configuration as code file.

Example

# service: ...

mysql_databases:
  - name: mysql

Variables

name
required
string

The name of the MySQL database must use snake_case notation. In addition, MySQL databases within a service cannot share the same name.