Skip to content

Conversation

@ybogo
Copy link
Contributor

@ybogo ybogo commented Dec 14, 2025

This PR adds implementation of use_secure_connection for mysql driver. Previously this flag was introduced in settings but was not used at all. Mainly we use only one flag of underlying libmariadb-connector-c: MYSQL_OPT_SSL_VERIFY_SERVER_CERT, which tells do not verify SSL certificates.

It is very useful in testing env where mysql database is running inside of docker container and there is no need to worry about SSL.

P.S. sample service was working fine because mysql database was running on localhost and in this case libmariadb using a unix socket and no SSL needed at all.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant