puppetlabs / puppetlabs-mysql

MySQL Puppet Module / Manifests + Types & Providers
Apache License 2.0
380 stars 790 forks source link

Alma/RHEL/Rocky 9 Support #1621

Closed igorolhovskiy closed 6 months ago

igorolhovskiy commented 6 months ago

Describe the Bug

When using the most default config with

include ::mysql::server
include ::mysql::client

mariadb 10.5 is installed, but cannot be started or managed with the following lines in the logs

systemd[1]: Starting MariaDB 10.5 database server...
mariadb-prepare-db-dir[15359]: Database MariaDB is probably initialized in /var/lib/mysql already, nothing is done.
mariadb-prepare-db-dir[15359]: If this is not the case, make sure the /var/lib/mysql is empty before running mariadb-prepare-db-dir.
mariadb.service: Main process exited, code=exited, status=1/FAILURE

Environment

igorolhovskiy commented 6 months ago

Sorry to raise it, it's actually working, just need to update local puppet repos )