Back to Data Sources
🐬

MySQL

Complete MySQL and MariaDB compatibility

Connection Settings

FieldDescriptionExample
HostDatabase server hostname or IPlocalhost
PortMySQL port (default: 3306)3306
DatabaseDatabase name to connect tomyapp_production
UsernameDatabase useranalytics_user
PasswordUser password (encrypted at rest)••••••••

Features

All MySQL Versions

MySQL 5.7, 8.0+ and MariaDB 10.x fully supported

SSL/TLS Encryption

Secure connections with certificate verification

Connection Pooling

Efficient connection management for high performance

Character Sets

Full UTF-8 and international character support

SSL Configuration

For secure connections, enable SSL and optionally provide certificates:

# Enable SSL in connection settings
SSL Mode: Required

# Optional: Provide CA certificate
CA Certificate: /path/to/ca-cert.pem

# Optional: Client certificate (for mutual TLS)
Client Certificate: /path/to/client-cert.pem
Client Key: /path/to/client-key.pem

Recommended Permissions

For read-only analytics, create a dedicated user:

CREATE USER 'dbcraft_reader'@'%' IDENTIFIED BY 'secure_password';
GRANT SELECT ON mydb.* TO 'dbcraft_reader'@'%';
FLUSH PRIVILEGES;