-
Notifications
You must be signed in to change notification settings - Fork 796
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
How to install MySQL instead of MariaDB on Ubuntu 22.04? #1582
Comments
I orginally reported this and have been getting nothing but the runaround from this team. At this point the module should be renamed the puppetlabs-mariaDB module. |
I just tried a later version and indeed, it feels like they want to force MariaDB down our throat! |
I am having the same problem. after unsuccessfully trying a few different configurations like package_name above, I attempted to look through the module's files to see if there was some default mariaDB install commands that I could edit or remove, but I didn't even find one reference to mariaDB outside of a mysql_datadir file that isn't even related to Ubuntu. what gives? seems like I have no choice but to remove this module. |
The relevant configuration is https://github.com/puppetlabs/puppetlabs-mysql/blob/main/manifests/params.pp#L154-L173
I was able to override the MariaDB configuration back to mysql using the following
However, this should just be fixed upstream in a better way. |
Describe the Bug
Beginning with v13.0.0 of this module, the default behavior on Ubuntu versions 20.04 and greater is to install MariaDB. As of this writing, the README doesn't mention this behavior nor how to install MySQL instead. I tried using the
package_name
parameter of "mysql-server" however that appears to have mixed results and ultimately failing to install MySQL as expected.This behavior appears to be first documented in #1449 (comment) with no workarounds.
Expected Behavior
With one or more parameters set, MySQL should be installed.
Steps to Reproduce
As an example, using the following
on a fresh install of Ubuntu 22.04, this is the output:
Environment
Additional Context
The text was updated successfully, but these errors were encountered: