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
MySQL 8.x - Plugin caching_sha2_password could not be loaded #5
Comments
Do you solve your issue? |
I was using the published image. As far as I can tell the Alpine MySQL client package (assembled from MariaDB sources) is incomplete and is not compatible with a default MySQL 8.x install. |
We have exactly the same problem here, when trying to connect to OVH managed databases |
@arey thanks for the proposition but there is no need of a Dockerfile for mysql:8 image, because it has everything inside (and actually too much if you just use the client). For example, my docker compose looks like:
However, a useful Dockerfile might be to remove what is not needed for |
Thank tou @toussa for your feedback. |
A solution here which installs |
nice 😃 |
Hi @olivernybroe and @pandasir |
Thanks to @olivernybroe the path has been pushed to Docker Hub. I let you try it. |
I found that |
Thanks for the feedback @ionling |
Same error using mysql:8 on docker compose -> Fix: in my dockerfile add this: FROM alpine:3.14 |
I @rodrigosampayo1 which image version are you using? |
Unfortuntely, I had the same issue (and fortunately the same fix).
|
Getting
/ # mysql -h mysql-service ERROR 1045 (28000): Plugin caching_sha2_password could not be loaded: Error loading shared library /usr/lib/mariadb/plugin/caching_sha2_password.so: No such file or directory
The text was updated successfully, but these errors were encountered: