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

Access denied errors for secondary MariaDB server #15

Closed
MTSym opened this issue Apr 4, 2023 · 0 comments
Closed

Access denied errors for secondary MariaDB server #15

MTSym opened this issue Apr 4, 2023 · 0 comments
Assignees
Labels
enhancement New feature or request

Comments

@MTSym
Copy link

MTSym commented Apr 4, 2023

After solving the PVC error I encountered an additional error regarding Access denied for user 'root'@'localhost' occured during the startup phase of the secondary database server.

It seems that the locked chart version of mariadb does not like it if you either change the "root" password or use a different storage backend than local-path.

By upgrading the chart to version 11.5.6 I was able to resolve this Issue for me.

If you want to reproduce the Issue try to changing mariadb.auth.rootPassword and mariadb.secondary.persistence.storageClass.

For the storage class I am using ceph-rbd-sc so a RBD ceph backend.
Please not that trying this with a Ceph-FS backend also does not work but that is due to the MariaDB chart being unable to handle the storage backend.

@dlen dlen added the enhancement New feature or request label Apr 4, 2023
@dlen dlen self-assigned this Apr 4, 2023
@dlen dlen closed this as completed in 06f56b5 May 3, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants