1
0
mirror of https://github.com/MariaDB/server.git synced 2025-08-08 11:22:35 +03:00

MDEV-10956 Strict Password Validation Breaks Replication.

strict_password_validation variable now has
        no effect in the slave thread.
This commit is contained in:
Alexey Botchkov
2017-01-17 15:32:41 +04:00
parent 3953c55978
commit 30a9ac4250
3 changed files with 42 additions and 4 deletions

View File

@@ -0,0 +1,13 @@
include/master-slave.inc
[connection master]
install soname "simple_password_check";
select @@strict_password_validation;
@@strict_password_validation
1
create user foo1 identified by password '11111111111111111111111111111111111111111';
set password for foo1 = PASSWORD('PLAINtext-password!!99');
drop user foo1;
create user foo1 identified by password '11111111111111111111111111111111111111111';
ERROR HY000: The MariaDB server is running with the --strict-password-validation option so it cannot execute this statement
uninstall plugin simple_password_check;
include/rpl_end.inc