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

Stop using passwords for mariadb users #1117

Merged
merged 1 commit into from
Dec 20, 2021

Conversation

goughes
Copy link
Contributor

@goughes goughes commented Dec 16, 2021

Fixes dmwm/WMCore#10926

MariaDB 10.4 changed the default authentication method to allow password-less connections via the local socket file. Details on the change can be found at https://mariadb.com/kb/en/authentication-from-mariadb-104/.

This PR removes usage of MYSQL_PASS to authenticate to the database, as it is no longer necessary. It also removes the creation of the password for the root user.

More details here: dmwm/WMCore#10837 (comment)

@amaltaro
Copy link
Contributor

I tested these changes with a Py3 MariaDB agent (1.5.7.pre2) and everything seems to be fine!
@muhammadimranfarooqi could you please get this merged?

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

Successfully merging this pull request may close these issues.

Soft error while creating MariaDB user in 10.6.5 during deployment
3 participants