Skip to content

mysql: preserve cleartext password auth setting#3738

Open
huynhtrungcip wants to merge 1 commit into
google:masterfrom
huynhtrungcip:fix-mysql-cleartext-auth
Open

mysql: preserve cleartext password auth setting#3738
huynhtrungcip wants to merge 1 commit into
google:masterfrom
huynhtrungcip:fix-mysql-cleartext-auth

Conversation

@huynhtrungcip

@huynhtrungcip huynhtrungcip commented Jul 3, 2026

Copy link
Copy Markdown

Changes

  • Preserve the MySQL driver default AllowCleartextPasswords setting for generic mysql:// URLs.
  • Continue allowing cleartext password authentication in awsmysql, where the connector configures TLS before connecting.
  • Add coverage for default, explicit false, and explicit true allowCleartextPasswords URL settings.

Tests

  • go test ./mysql -run TestConfigFromURL -count=1
  • go test ./mysql ./mysql/awsmysql ./mysql/azuremysql -count=1
  • go test ./mysql/... -count=1

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