Docs
SupportGet Started
  • Get Started
  • Platform
  • Products
  • Tutorials
  • Enterprise
  • Products
  • Backend Capsule
    • Build and Deploy
    • Configure
    • Scale
    • Monitor
    • Logs
    • Alerting (Coming Soon)
    • Add a Procfile to a Backend Application
  • Database Capsule
    • Deploy
  • Configure
  • Scale
  • Backups
  • Monitor
  • Logs
  • Alerting (Coming Soon)
  • Migrations
  • Frontend capsule
    • Deploy
  • Configure
  • Scale
  • Monitor
  • Logs
  • Alerting (Coming Soon)
  • Custom Domains
  • Storage Capsule
    • Deploy
    • Configure
    • Scale
    • Monitor
    • Logs
    • Alerting (Coming Soon)
    • How State Works
  • Wordpress Capsule
    • Deploy
    • Configure
    • Scale
    • Monitor
    • Logs
    • Alerting (Coming Soon)
  • Enterprise Clusters
    • Overview
Powered by GitBook

© Copyright Code Capsules. All rights reserved.

On this page
  • View Connection Details
  • Edit Capsule Name
  • Enable Public Access
  • Configure MySQL Settings
  • Set SQL Modes

Was this helpful?

Export as PDF

Configure

PreviousDeployNextScale

Last updated 16 days ago

Was this helpful?

Configure a Database Capsule in the Details tab of the Capsule dashboard.

View Connection Details

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

Edit Capsule Name

To change the name of the Capsule, click Edit next to the Capsule name in the Capsule Details section.

Enable Public Access

The Public Access feature is currently available for MongoDB Capsules.

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.

Configure MySQL Settings

These settings are only available for MySQL Capsules.

Additional MySQL configuration is available in the Config tab of MySQL Capsules.

Set SQL Modes

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

Database Connection Details
MongoDB Public Access
MySQL Configuration