Skip to main content

Create MySQL Database

string
required
Display name for the MySQL database
string
required
Unique application name used for Docker container identification
string
required
Name of the database to create
string
required
Username for database access
string
required
Password for database user. Must match pattern: ^[a-zA-Z0-9@#%^&*()_+\-=[\]{}|;:,.<>?~]*$`
string
required
Root password for MySQL. Must match pattern: ^[a-zA-Z0-9@#%^&*()_+\-=[\]{}|;:,.<>?~]*$`
string
required
ID of the environment where this database will be deployed
string
default:"mysql:8"
Docker image to use for MySQL
string
Optional description of the database instance
string
Optional server ID for deployment on specific server
string
Unique identifier for the created MySQL instance
string
Application name of the database
string
Display name of the database

Get MySQL Database

string
required
ID of the MySQL database to retrieve
string
Database identifier
string
Display name
string
Application name
string
Database name
string
Database username
string
MySQL Docker image
string
Current status: idle, running, done, or error
number
External port for database access (if configured)

Deploy MySQL

string
required
ID of the MySQL database to deploy

Start MySQL

string
required
ID of the MySQL database to start

Stop MySQL

string
required
ID of the MySQL database to stop

Update MySQL

string
required
ID of the MySQL database to update
string
New display name
string
New application name
string
New description
string
Database name
string
Database username
string
User password
string
Root password
string
Maximum memory (e.g., “2g”, “512m”)
string
Guaranteed memory allocation
string
Maximum CPU cores
string
Guaranteed CPU allocation
string
Custom command override
array
Command arguments

Save External Port

string
required
ID of the MySQL database
number
Port number for external access. Set to null to remove external port.

Save Environment Variables

string
required
ID of the MySQL database
string
Environment variables in KEY=VALUE format, separated by newlines

Reload MySQL

string
required
ID of the MySQL database
string
required
Application name of the database

Rebuild MySQL

string
required
ID of the MySQL database to rebuild

Remove MySQL

string
required
ID of the MySQL database to remove

Connection String Format

Example:
For external connections:

Mount Path

MySQL data is stored at /var/lib/mysql inside the container.