-
Notifications
You must be signed in to change notification settings - Fork 2k
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
Can't connect mysql8.4 because mysql8.4 no longer supports the mysql_native_password plugin #7350
Comments
@fengzai6 Thanks for posting! We'll take a look as soon as possible. In the mean time, there are a few ways you can help speed things along:
Please remember: never post in a public forum if you believe you've found a genuine security vulnerability. Instead, disclose it responsibly. For help with questions about Sails, click here. |
I ran into this same issue running any mysql version that no longer supports mysql_native_password. If you use an older version of mysql you can get it working I do not think this is a great solution though. I think the best solution would be to update the adapter to support newer versions so you can utilize caching_sha2_password. I believe mysql versions 9.0+ have completely removed the option to use mysql_native_password and in the 8.4 update it was deprecated. |
try this comment sailshq/machinepack-mysql#20 (comment) |
Node version: v20.14.0
Sails version (sails): 1.5.11
ORM hook version (sails-hook-orm): 4.0.3
Sockets hook version (sails-hook-sockets): 3.0.0
Organics hook version (sails-hook-organics): not use
Grunt hook version (sails-hook-grunt): not use
Uploads hook version (sails-hook-uploads): not use
DB adapter & version (e.g. [email protected]): [email protected]
Skipper adapter & version (e.g. [email protected]): not use
sails-mysql not support caching_sha2_password , please support it to use mysql2😣
The text was updated successfully, but these errors were encountered: