dockerfiles icon indicating copy to clipboard operation
dockerfiles copied to clipboard

mysqldump: Authentication plugin 'caching_sha2_password' cannot be loaded

Open AmazingDreams opened this issue 6 years ago • 6 comments

I got an error on mysql 8: mysqldump: Authentication plugin 'caching_sha2_password' cannot be loaded

Probably the only thing that needs to happen is update mysqldump / the image

AmazingDreams avatar Jun 28 '19 11:06 AmazingDreams

try to don't use MULTI_FILES param

lllelll avatar May 12 '20 11:05 lllelll

+1 same error on MySQL 8

oleynikd avatar Dec 28 '21 13:12 oleynikd

@oleynikd @lllelll @AmazingDreams Feel free to submit a PR to fix this issue! Happy to merge & update the dockerfile.

iloveitaly avatar Dec 28 '21 13:12 iloveitaly

There seems to be something wrong with the image that's currently on Docker Hub. The /usr/lib/mariadb/plugin is empty for some reason. I tried buidling locally and it has all the required files for authentication, unlike the published one. On of these files being the caching_sha2_password.so that's required for caching_sha2_password auth. Can you try do a rebuild and push it? @iloveitaly I think that should be all that's required to close this issue, now that the Alpine provided mariadb-c-connector supports caching_sha2_password.

JoelESvensson avatar Aug 07 '22 12:08 JoelESvensson