Configure
Last updated
Was this helpful?
Last updated
Was this helpful?
Configure a Database Capsule in the Details tab of the Capsule dashboard.
The Details tab provides connection details for a Database Capsule.
Click show in the Connection Details section to view database credentials:
Host
Port
Database name
Username
Password
Connection string
To change the name of the Capsule, click Edit next to the Capsule name in the Capsule Details section.
Toggle on Public Access to allow access to the database from outside your Space.
When Public Access is toggled on, Code Capsules generates a public connection string that you can use to connect to the database.
Additional MySQL configuration is available in the Config tab of MySQL Capsules.
In the MySQL Configuration section, click Edit to select SQL modes for your MySQL server.
SQL modes determine how MySQL handles queries and data validation. Common options include:
STRICT_TRANS_TABLES
- Enables strict mode for transactional tables
NO_ZERO_DATE
- Prevents the use of invalid date values
ONLY_FULL_GROUP_BY
- Requires GROUP BY
to list all selected columns