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

Replace password() with SHA1 for Mysql 8 #141

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

nathansventures
Copy link

Authentication is breaking with MySql 8 since password() is deprecated. This is a quick workaround that works.

@KaiSchwarz-cnic
Copy link

Just to mention it: SHA1 is no longer secure and deprecated since years.
I guess SHA2 is the right choice.
https://dev.mysql.com/doc/refman/8.0/en/encryption-functions.html#function_sha2

Of course SHA1 > password(), but if you really want to improve -> SHA2.

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.

None yet

2 participants