fizzy icon indicating copy to clipboard operation
fizzy copied to clipboard

Make MySQL SSL mode configurable via env var

Open hosmelq opened this issue 2 weeks ago • 1 comments

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)

hosmelq avatar Dec 09 '25 15:12 hosmelq

Fixed by https://github.com/trilogy-libraries/trilogy/pull/248. Good idea to use TLS internally though.

jeremy avatar Dec 09 '25 21:12 jeremy