Closed TonyCTHsu closed 5 days ago
All modified and coverable lines are covered by tests :white_check_mark:
Project coverage is 98.10%. Comparing base (
7cd7c4c
) to head (a0797a5
). Report is 9 commits behind head on master.
:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.
What does this PR do?
Update mysql image with 8.0
Motivation:
The mysql usage is different between docker-compose and circleci.
mysql:8
using verison8.4.0
mysql:5.6
Why choose
mysql:8.0
:mysql2
gem does not test with8.4
, https://github.com/brianmario/mysql2?tab=readme-ov-file#compatibility8.4.0
is failing with (This is causing local test failure, such asaction_cable
)mysql:5.6
, because8.4.0
authentication become very verbose with SSL. Needs a ton of changes and still more failing withMysql2::Error: RSA Encryption not supported - caching_sha2_password plugin was built with GnuTLS support
Trilogy::QueryError: trilogy_auth_recv: TRILOGY_UNEXPECTED_PACKET
, can be fixed by upgrade 2.8.0 and provide SSL"trilogy://root:#{hash[:password]}@#{hash[:host]}:#{hash[:port]}/#{hash[:database]}?ssl_mode=SSL_MODE_PREFERRED" end
diff --git a/spec/datadog/tracing/contrib/trilogy/patcher_spec.rb b/spec/datadog/tracing/contrib/trilogy/patcher_spec.rb index c7641f4b0..750fd550c 100644 --- a/spec/datadog/tracing/contrib/trilogy/patcher_spec.rb +++ b/spec/datadog/tracing/contrib/trilogy/patcher_spec.rb @@ -20,7 +20,10 @@ RSpec.describe 'Trlogy::Client patcher' do port: port, database: database, username: username,
8.4.0
JDBC need to allow public key retrievalNOTE
As of MySQL 8.0,
caching_sha2_password
is now the default authentication plugin rather thanmysql_native_password
which was the default in previous versions. This means that clients that rely on themysql_native_password
won't be able to connect because of this change.