Skip to content

Add support for Mariadb 11.x#1626

Closed
OxCom wants to merge 8 commits into
puppetlabs:mainfrom
OxCom:main
Closed

Add support for Mariadb 11.x#1626
OxCom wants to merge 8 commits into
puppetlabs:mainfrom
OxCom:main

Conversation

@OxCom

@OxCom OxCom commented Mar 29, 2024

Copy link
Copy Markdown
Contributor

From MariaDB 10.4 we have deprecation notice that mysql* names will be removed. See: JIRA ticket

Resolve #1580

Manually verified un Ubuntu 22.04 and MariaDB 11.x.

Deprecation notice examples:

mysql: Deprecated program name. It will be removed in a future release, use '/usr/bin/mariadb' instead.
mysqld: Deprecated program name. It will be removed in a future release, use '/usr/sbin/mariadbd' instead
mysqladmin: Deprecated program name. It will be removed in a future release, use '/usr/bin/mariadb-admin' instead

@OxCom OxCom requested review from a team, alexjfisher and bastelfreak as code owners March 29, 2024 14:42
@CLAassistant

CLAassistant commented Mar 29, 2024

Copy link
Copy Markdown

CLA assistant check
All committers have signed the CLA.

@alnet

alnet commented Apr 22, 2024

Copy link
Copy Markdown

+1 to wanting this merged. Thank you folks!

spotzero added a commit to coldfrontlabs/puppetlabs-mysql that referenced this pull request Jul 16, 2024
@nlegaillart-dri

nlegaillart-dri commented Jul 18, 2024

Copy link
Copy Markdown
Contributor

Hi, when trying this PR with MariaDB 11.4, Puppet Agent hangs on first run with Error: Could not run: stack level too deep. This seems to be caused by first method self.mysql_raw() because it works when I comment it out. Once the first run has passed, it also works with this method restored.

Does anybody noticed the same behaviour?

@nlegaillart-dri

Copy link
Copy Markdown
Contributor

Hi, when trying this PR with MariaDB 11.4, Puppet Agent hangs on first run with Error: Could not run: stack level too deep. This seems to be caused by first method self.mysql_raw() because it works when I comment it out. Once the first run has passed, it also works with this method restored.

Does anybody noticed the same behaviour?

Some news about the Error: Could not run: stack level too deep: this append on a fresh install, when there is no fact defined and no mysql/mariadb binary installed on the platform. In this case mysqld_version_string would equal nil, preventing scan()method to work properly (just a thought, I am no developer)

fraenki added a commit to markt-de/puppet-galera that referenced this pull request Aug 6, 2024
puppetlabs-mysql is currently incompatble with MariaDB 11.x:
puppetlabs/puppetlabs-mysql#1626
@neomilium

Copy link
Copy Markdown

Superseded by #1645 , can be closed.

@jst-cyr

jst-cyr commented Jun 16, 2026

Copy link
Copy Markdown
Member

Closing as #1645 has now been approved and merged.

@jst-cyr jst-cyr closed this Jun 16, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Providers broken with MariaDB 11

8 participants