You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If anybody else is running into this issue, we couldn't figure out where the disconnect is between the mysql2 code and the mariadb-connector-c library. It all seems like it's setting the correct flags, but for some reason it refuses to disable TLS.
We worked around it by compiling the mariadb-connector-c with the -DDEFAULT_SSL_VERIFY_SERVER_CERT=0 which defaults it to the old behavior.
Mariadb connector c release notes for 3.4.0 mention
enable MYSQL_OPT_SSL_VERIFY_SERVER_CERT by default
.Using mysql2 with that connector does not allow connecting to a server without using TLS. Setting
ssl_mode
todisabled
seems to do nothing.The text was updated successfully, but these errors were encountered: