Back to Data Sources
🐬
MySQL
MySQL and MySQL-compatible servers
Connection Settings
| Field | Description | Example |
|---|---|---|
| Host | Database server hostname or IP | localhost |
| Port | MySQL port (default: 3306) | 3306 |
| Database | Database name to connect to | myapp_production |
| Username | Database user | analytics_user |
| Password | User password (encrypted at rest) | •••••••• |
| SSL mode | disable, prefer, or require | require |
Features
MySQL 5.7 and 8.x
Works with MySQL and MySQL-compatible managed services
SSL/TLS Encryption
Encrypt traffic with the prefer or require SSL modes
Connection Pooling
Efficient connection management for high performance
Character Sets
Full UTF-8 and international character support
SSL Configuration
Pick an SSL mode in the connection form. DBCraft maps it to MySQL's ssl-mode setting:
| DBCraft | MySQL ssl-mode | Description |
|---|---|---|
| disable | DISABLED | No SSL. Only for trusted private networks |
| prefer | PREFERRED | Use SSL when the server supports it |
| require | REQUIRED | Always use SSL (recommended for remote databases) |
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;
