MySQL Protocol Configuration
Complete configuration reference for MySQL protocol support in HeliosDB.
Server Configuration
Basic Settings
# Connection timeout (seconds)
Authentication
# Authentication method: mysql_native_password, caching_sha2_password
method = "caching_sha2_password"
ssl_cert = "/path/to/server.crt"
ssl_key = "/path/to/server.key"
# Require SSL for all connections
# Maximum packet size (bytes)
max_packet_size = 16777216
# Query timeout (seconds)
query_cache_enabled = true
Compatibility Settings
# SQL mode (compatible with MySQL sql_mode)
sql_mode = "STRICT_TRANS_TABLES,NO_ENGINE_SUBSTITUTION"
# Default storage engine mapping
default_engine = "HeliosDB"
character_set = "utf8mb4"
collation = "utf8mb4_unicode_ci"
# Enable lower_case_table_names
lower_case_table_names = 0
mysql://[user[:password]@]host[:port]/database[?options]
Connection Options
| Option | Description | Default |
|---|
connect_timeout | Connection timeout in seconds | 10 |
read_timeout | Read timeout in seconds | 30 |
write_timeout | Write timeout in seconds | 30 |
ssl-mode | SSL mode (DISABLED, PREFERRED, REQUIRED) | PREFERRED |
charset | Character set | utf8mb4 |
Example Connection Strings
mysql://admin:password@localhost:3306/heliosdb
mysql://admin:password@localhost:3306/heliosdb?ssl-mode=REQUIRED
mysql://admin:password@localhost:3306/heliosdb?connect_timeout=5&read_timeout=60
Environment Variables
| Variable | Description | Default |
|---|
HELIOSDB_MYSQL_PORT | MySQL protocol port | 3306 |
HELIOSDB_MYSQL_ENABLED | Enable MySQL protocol | true |
HELIOSDB_MYSQL_MAX_CONNECTIONS | Max connections | 1000 |
HELIOSDB_MYSQL_SSL_ENABLED | Enable SSL | false |
Driver Compatibility
| Driver | Language | Status | Notes |
|---|
| mysql-connector-python | Python | Tested | Full support |
| PyMySQL | Python | Tested | Full support |
| mysql2 | Node.js | Tested | Full support |
| MySQL Connector/J | Java | Tested | JDBC compatible |
| go-sql-driver/mysql | Go | Tested | Full support |
| MySqlConnector | .NET | Tested | Full support |
Last Updated: January 2026