Skip to content

SSL/TLS connection to MySQL #635

Closed Answered by burningalchemist
kuerzingera asked this question in Q&A
Discussion options

You must be logged in to vote

Hi @kuerzingera, version v0.5 is unmaintained since 2019. It's the original project I used to contribute to (made by free), but I had to hard fork the project to continue maintenance, development, and security updates on my own.


It's possible, that v0.5 contains the old MySQL driver, which might have issues. Also, there is no special code to handle database connection on the sql_exporter side. So I'd rather check driver repository, and maybe file an issue there.

It's also possible that MySQL Driver doesn't support passing path for TLS certificates at the moment - have a look here: go-sql-driver/mysql#926.

Also related discussion: go-sql-driver/mysql#908 (comment)

So it's likely what you …

Replies: 2 comments 1 reply

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
1 reply
@burningalchemist
Comment options

Answer selected by burningalchemist
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants