-
Notifications
You must be signed in to change notification settings - Fork 61
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
Add support for mariadb + default authentication plugin #7
base: master
Are you sure you want to change the base?
Conversation
The tests fail, while on my fork they don't https://github.com/haltuf/mysql-action/commit/1d829fdd34e83de9a72b768924ec109f83e4d78c/checks?check_suite_id=323723363 I believe the problem is, that my PR tries to reach your ${{ secrets.DatabasePassword }} to which it obviously does not have access. |
This PR would be useful for us as we are looking to fallback to the default authentication plugin and could not find a way to do so. |
Are you planning on merging this |
@haltuf Thanks for writing this PR, saved me a lot of time |
refs mirromutth#7 - I've pulled the code from the PR that allows us to change the authentication plugin, so we can run tests on 8.0 until the PR is merged
Is this going to be merged at any point? |
This PR:
The thing is, mysql 8.0+ changed its default authentication plugin from 'mysql_native_password' to 'caching_sha2_password' causing 'The server requested authentication method unknown to the client [caching_sha2_password]' error for many applications. Setting the default value to 'mysql_native_password' enforces the standard login/password authentication even for mysql 8.0+ versions.
I've also added the tests to cover new functionality.