Back to Data Sources
🐬

MySQL

MySQL and MySQL-compatible servers

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)••••••••
SSL modedisable, prefer, or requirerequire

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:

DBCraftMySQL ssl-modeDescription
disableDISABLEDNo SSL. Only for trusted private networks
preferPREFERREDUse SSL when the server supports it
requireREQUIREDAlways 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;