You can attach a MySQL database to your service to securely store and retrieve data using SQL.
To configure a MySQL database in your code editor, use the following variables in the service's configuration as code file.
# service: ...
mysql_databases:
- name: mysql
The name of the MySQL database must use snake_case notation. In addition, MySQL databases within a service cannot share the same name.