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

[rails] Revert to mysql2 gem for the MySQL adapter #9020

Closed
wants to merge 1 commit into from

Conversation

p8
Copy link
Contributor

@p8 p8 commented May 14, 2024

2a5c99b Broke the rails tests.
The trilogy adapter currently doesn't support caching_sha2_password authentication:

      /usr/local/bundle/gems/activerecord-7.1.3.1/lib/active_record/connection_adapters/trilogy_adapter.rb:61:in
      `rescue in new_client': trilogy_auth_recv: caching_sha2_password
      requires either TCP with TLS or a unix socket: TRILOGY_UNSUPPORTED
      (ActiveRecord::ConnectionNotEstablished)

See: trilogy-libraries/trilogy#26

The trilogy adapter currently doesn't support caching_sha2_password
authentication:

          /usr/local/bundle/gems/activerecord-7.1.3.1/lib/active_record/connection_adapters/trilogy_adapter.rb:61:in
          `rescue in new_client': trilogy_auth_recv: caching_sha2_password
          requires either TCP with TLS or a unix socket: TRILOGY_UNSUPPORTED
          (ActiveRecord::ConnectionNotEstablished)

See: trilogy-libraries/trilogy#26
@p8 p8 changed the title [rails] Revert to mysql2 for the MySQL adapter [rails] Revert to mysql2 gem for the MySQL adapter May 15, 2024
@p8
Copy link
Contributor Author

p8 commented May 15, 2024

Close in favor of #9027

@p8 p8 closed this May 15, 2024
@p8 p8 deleted the rails/use-mysql2 branch May 15, 2024 20:25
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

Successfully merging this pull request may close these issues.

1 participant