-
Notifications
You must be signed in to change notification settings - Fork 145
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Support SSL in MySQL backend? #20
Comments
hi @ZxMYS , mysql client ssl option is not supported yet. We will add the support. |
@hughmiao great! looking forward to it. |
True, the server does the same thing. Yes, we need to add the ssl options to mysql connection config. |
this should be fixed on the head. it is also included in the 0.15.1 release. please feel free to reopen if there's other issues. |
@hughmiao thanks for the quick resolution! Appreciated. |
thanks @ZxMYS for the feedback. MYSQL_OPT_SSL_MODE looks to me is added in 5.7+. Also if this FR is a blocker for you and waiting for the next release is not ideal, consider to use mysql_options in a similar way as the commit does, and build the wheel from the modified source. If set [1] https://github.com/MariaDB/mariadb-connector-c/blob/de04c2e01fef13cb4545b85f47fd90ec92f2c95e/include/mysql.h#L166 |
@ZxMYS @hughmiao can you give some suggestions around what a working client config for SSL might look like?
Observing the following exception without much details: |
Hi! It seems like currently if I want to use MySQL as the backend there’s no way to enable SSL of db connections? (I just briefly skimmed the source code so I might be wrong).
Can we added optional MySQL SSL configs to connection config and support enabling SSL of MySQL in MLMD? Thanks!
The text was updated successfully, but these errors were encountered: