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

Need to run mariadb-install-db for newer versions of MariaDB on RPM systems #66

Open
angwe opened this issue Mar 4, 2024 · 0 comments

Comments

@angwe
Copy link

angwe commented Mar 4, 2024

The role tries to start the MariaDB server before it is properly initialized.

When running the role for 10.11, it would crash out at the "starting service" line because none of the "mysql" authentication/authorization tables existed yet.

After running mariadb-install-db --user=XXXX --group=XXXX --datadir=/PATH/TO/DATA by hand on the target machine, the rest of the role ran perfectly.

I suspect previous iterations of the yum install process might have run this by default?

I'm running the role against a RHEL 8 machine to install MariaDB 10.11 (the current long-term support version).

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