mysql_user.present broken in Mariadb 10.1.x due to ALTER USER #52045
Labels
Bug
broken, incorrect, or confusing behavior
P4
Priority 4
severity-low
4th level, cosemtic problems, work around exists
Milestone
Description of Issue/Question
When using
mysql_user.present
to update the password for a user on MariaDB 10.1.X, it will fail due to the use of ALTER USER instead of SET PASSWORD.@garethgreenaway appears to have made a change to detection of MariaDB in the version detection code (d31c902) which I believe is where the problem has come in. It forces all MariaDB servers to be set to version 10.2.0 which may be why now the detection for ALTER USER vs UPDATE... SET PASSWORD is now not working (d31c902#diff-29a8d4513061a20d02e36c542ea18e19R1541)
Setup
Steps to Reproduce Issue
Versions Report
The text was updated successfully, but these errors were encountered: