Skip to content

Conversation

@Aias00
Copy link
Contributor

@Aias00 Aias00 commented Mar 7, 2025

add jdbc properties, for mysql 8+
image

Make sure that:

  • You have read the contribution guidelines.
  • You submit test cases (unit or integration tests) that back your changes.
  • Your local test passed ./mvnw clean install -Dmaven.javadoc.skip=true.

@yu199195
Copy link
Member

mysql 5.7, need add this properties?

@Aias00
Copy link
Contributor Author

Aias00 commented Mar 10, 2025

mysql 5.7, need add this properties?

Setting allowPublicKeyRetrieval=true does not cause errors when connecting to a MySQL 5.7 server. This parameter is necessary when the server uses sha256_password and SSL is not enabled, as it prevents the "Public Key Retrieval is not allowed" error. If mysql_native_password is used, the parameter is ignored and does not cause any issues. Users should adjust this setting based on the actual authentication plugin and SSL configuration, but overall, this setting is safe.

@yu199195 yu199195 added the admin label Mar 10, 2025
@yu199195 yu199195 added this to the 2.7.0.1 milestone Mar 10, 2025
@yu199195 yu199195 merged commit 3854267 into apache:master Mar 10, 2025
44 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants