mirror of
https://github.com/MariaDB/server.git
synced 2025-05-11 13:21:44 +03:00
25 lines
631 B
Plaintext
25 lines
631 B
Plaintext
if (!$SIMPLE_PASSWORD_CHECK_SO) {
|
|
skip No SIMPLE_PASSWORD_CHECK plugin;
|
|
}
|
|
|
|
--source include/master-slave.inc
|
|
|
|
|
|
--connection slave
|
|
install soname "simple_password_check";
|
|
select @@strict_password_validation;
|
|
|
|
--connection master
|
|
create user foo1 identified by password '11111111111111111111111111111111111111111';
|
|
set password for foo1 = PASSWORD('PLAINtext-password!!99');
|
|
drop user foo1;
|
|
--sync_slave_with_master
|
|
|
|
--connection slave
|
|
--error ER_OPTION_PREVENTS_STATEMENT
|
|
create user foo1 identified by password '11111111111111111111111111111111111111111';
|
|
|
|
uninstall plugin simple_password_check;
|
|
|
|
--source include/rpl_end.inc
|