Skip to content
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

Running locally guide doesn't work with mysql 8.0.4+ #3

Open
martinmosegaard opened this issue Sep 7, 2018 · 0 comments
Open

Running locally guide doesn't work with mysql 8.0.4+ #3

martinmosegaard opened this issue Sep 7, 2018 · 0 comments

Comments

@martinmosegaard
Copy link

I installed mysql with brew install mysql and got version 8.0.12. This caused the following error during mvn spring-boot:run:

java.sql.SQLException: Unable to load authentication plugin 'caching_sha2_password'

which can be googled here:
https://stackoverflow.com/questions/50387952/how-to-resolve-unable-to-load-authentication-plugin-caching-sha2-password-issu

The fix for me was to change the SQL user creation statement to:

CREATE USER 'springpong'@'localhost' IDENTIFIED WITH mysql_native_password BY 'springpong';
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

No branches or pull requests

1 participant