fizzy
fizzy copied to clipboard
Make MySQL SSL mode configurable via env var
I encounter the following error when using MySQL, with ssl_mode set to REQUIRED, the error disappears. I'm unsure if REQUIRED is the best default setting.
bin/rails aborted!
ActiveRecord::ConnectionNotEstablished: trilogy_auth_recv: caching_sha2_password requires either TCP with TLS or a unix socket: TRILOGY_UNSUPPORTED (ActiveRecord::ConnectionNotEstablished)
Fixed by https://github.com/trilogy-libraries/trilogy/pull/248. Good idea to use TLS internally though.