MySQL
MySQL datasources use the ODBC driver and the MariaDB ODBC connector. The connection string is built internally from the provided fields.See Supported Data Formats for database source categories and schema column types supported on MySQL connections.
Connection configuration
URI format
The URI is used as a reference identifier. CloudQuant Data Liberator builds the actual ODBC connection string internally from the individual connection fields (
server, database, username, password).Required fields
Optional fields
Example connection
Dataset configuration (data_args)
Required fields
Optional fields
table_options entry
Each entry intable_options describes a table to query:
Complete example
Connection
Dataset
SSL configuration
By default, SSL is enabled. To disable SSL (e.g., for local development):Driver and dependencies
Troubleshooting
ODBC driver not found
If you see errors about missing ODBC drivers, verify the MariaDB ODBC driver is installed and registered:Connection refused
Verify the MySQL server is accepting connections on the specified host and port. Check that thebind-address in the MySQL configuration allows remote connections.
Authentication failed
Ensure the user has been granted access from the CloudQuant Data Liberator host’s IP address:SSL handshake errors
If SSL connections fail, check that the MySQL server’s SSL certificate is valid and trusted. Setssl_disabled to "True" temporarily to confirm the issue is SSL-related.
Slow queries
- Increase
batch_sizefor large result sets (up to100000). - Ensure the datetime and key columns are indexed in MySQL.
- For partitioned tables, ensure
dt_regexis correctly scoping queries to relevant partitions.

