duckdb / duckdb_mysql

MIT License
45 stars 10 forks source link

Support Encrypted connection #71

Open aszenz opened 2 months ago

aszenz commented 2 months ago

I'm trying to connect to a MySQL database that only allows encrypted connections, but there doesn't seem to be a way to do that in DuckDB. I have a custom CA certificate file that I can normally use in the MySQL client (the ssl_ca parameter). DuckDB has no such parameter so a connection can't be established. Unless I'm overlooking something, it seems DuckDB doesn't support encrypted connections to MySQL. Any help would be greatly appreciated!

Moved from https://github.com/duckdb/duckdb/discussions/12676#discussion-6857956