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

Plugin caching_sha2_password could not be loaded #88

Open
chrisgerman opened this issue Feb 4, 2021 · 2 comments
Open

Plugin caching_sha2_password could not be loaded #88

chrisgerman opened this issue Feb 4, 2021 · 2 comments

Comments

@chrisgerman
Copy link

Getting the following error and yes I'm using MySql 8.0.23 when installing the docker image.

ERROR 1045 (28000): Plugin caching_sha2_password could not be loaded: /usr/lib64/mariadb/plugin/caching_sha2_password.so: cannot open shared object file: No such file or directory

@chrisgerman
Copy link
Author

P.S. I checked the folder and I don't see caching_sha2_password.so but after doing yum update then install. It shows up?

@chrisgerman
Copy link
Author

It seems I got it working after doing a yum update and yum upgrade, then manually adding the USER in MySQL with the following commands

USE cacti;
CREATE USER 'cacti'@'%' IDENTIFIED BY 'password';
GRANT ALL ON *.* TO 'cacti'@'%';
GRANT SELECT ON mysql.time_zone_name TO 'cacti'@'%';
FLUSH PRIVILEGES;

Had to do this because MySql 8 syntax is different.

Then removed the install.lock with rm -f /cacti/install.lock to force another install after restarting the container.

I have a few issues with my database like giving it more and buffer size. I will do that and see what happens.

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

No branches or pull requests

1 participant