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

Fix missing caching_sha2_password.so library #169

Merged
merged 1 commit into from
Jul 7, 2024

Conversation

thelittlefireman
Copy link
Contributor

Fix missing caching_sha2_password when connect to mysql db version >= 8.4

admin@XXXX:$ docker exec -it nextcloud bash
75334fa4b046:/var/www# mysql -h mysql -u nextcloud1 -pXXXXXXX
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
75334fa4b046:/var/www#
admin@XXXXX:$ docker exec -it nextcloud bash
75334fa4b046:/var/www# apk add mariadb-connector-c
fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz
fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz
(1/1) Installing mariadb-connector-c (3.3.10-r0)
OK: 447 MiB in 303 packages
75334fa4b046:/var/www# mysql -h mysql -u nextcloud1 -pXXXXXXX
Welcome to the MariaDB monitor.  Commands end with ; or \g.
Your MySQL connection id is 5975
Server version: 9.0.0 MySQL Community Server - GPL

Copy link
Owner

@crazy-max crazy-max left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks!

@crazy-max crazy-max merged commit 6c60128 into crazy-max:master Jul 7, 2024
10 checks passed
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.

2 participants