MySQL 5.7 SSL configuration#227
Closed
cursor[bot] wants to merge 1 commit intofix/mysql57-ssl-errorfrom
Closed
Conversation
The MySQL 8.0 client enforces SSL verification which fails with MySQL 5.7's self-signed certificates. Adding ssl-mode=PREFERRED allows connections to proceed without strict SSL verification, fixing the SSL error.
Author
|
Cursor Agent can help with this pull request. Just |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Bare minimum self-checks
mainPieces of flare
Finally
If you have any issues or need help please join the
#contributorschannel in the Lando slack and someone will gladly help you out!You can also check out the coder guide.
This PR addresses a bug where the MySQL 8.0 client, when used with MySQL 5.7, would fail due to SSL verification errors against 5.7's self-signed certificates. The previous PR introduced a test for this scenario but omitted the necessary
ssl-mode=PREFERREDconfiguration. This change addsssl-mode=PREFERREDto the/etc/mysql/conf.d/lando.cnffile created bymysql-client-install.sh, ensuring proper SSL handling and allowing the related CI tests to pass.