Mysql ssl connection issue

In your documentation (ROM) you indicate that the option to be used is “:sslmode” and “:sslca”. However in the code base (mysql2 0.5.4) I see they are using “:ssl_mode”. Can you tell me if the documentation is wrong or is the code using the wrong symbol?

gems/mysql2-0.5.4/lib/mysql2/client.rb:49:in `initialize’

Thank you!

Hey there, seems like the docs are not up to date then

This is an annoying inconsistency in the adapter code.

TL;DR sslca is correct, sslmode should be ssl_mode.