Join GitHub today
GitHub is home to over 31 million developers working together to host and review code, manage projects, and build software together.Sign up
Windows 10: Authentication plugin 'caching_sha2_password' cannot be loaded: The specified module could not be found. #1015
How do I make mysql2 gem (0.5.2) pick caching_sha2_password on Windows10?
My versions are:
I'd installed Ruby with rubyinstaller-devkit-2.5.3-1-x64.
To fix the problem, I uninstalled mysql2 gem and installed again using with-mysql-dir option first with Connector/C path and then with MySQL server path. In both cases the gem was installed but at run time, Rails does not find caching_sha2_password.
Here are my install commands:
You've installed the binary version of mysql2.
At the time of building this gem, the necessary DLL files were retrieved from:
This gem includes vendor/libmysql.dll with redistribution notice in vendor/README.
Successfully installed mysql2-0.5.2-x64-mingw32
Got the same messages with
MySQL Connector/C versions 6.x do not have this plugin. The new Connector/C 8.x series does, but the zip image download link seems to be a bit harder to find. I’ll see about updating for the next mysql2 gem release. Thanks for reporting this! I haven’t used MySQL 8 on Windows yet, so I wasn’t keeping up with these changes myself.