Skip to content
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

"pluggable authentication is not available" for recent client library #1336

Open
nroose opened this issue Oct 18, 2023 · 1 comment
Open

Comments

@nroose
Copy link

nroose commented Oct 18, 2023

Hi. I am using a recent Alpine (v3.18), a recent Rails (7.0.7.2). A recent mariadb-dev version (10.11.5-r0). When I try to update to Ruby 3.2.2, I get "pluggable authentication is not available, you may need a newer MySQL client library".

We were previously using mysql2 0.5.3, but that does not seem to be compatible with Ruby 3.2.2, because we are getting the error

<internal:/usr/local/lib/ruby/site_ruby/3.2.0/rubygems/core_ext/kernel_require.rb>:38:in `require': Error relocating bundle/ruby/3.2.0/gems/mysql2-0.5.3/lib/mysql2/mysql2.so: rb_tainted_str_new2: symbol not found - bundle/ruby/3.2.0/gems/mysql2-0.5.3/lib/mysql2/mysql2.so (LoadError)

Is there a way I can get around this? Thanks.

@nroose
Copy link
Author

nroose commented Oct 18, 2023

It seems that 0.5.4+ require secure connection to the db. Is that correct?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant