puppetlabs/puppetlabs-mysql

Alma/RHEL/Rocky 9 Support

igorolhovskiy opened this issue · 1 comments

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

  • Puppet: 7.24.0
  • Platform: Red Hat Enterprise Linux 9.3 (Plow)

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