| 1 |
if (!$SIMPLE_PASSWORD_CHECK_SO) { |
| 2 |
skip No SIMPLE_PASSWORD_CHECK plugin; |
| 3 |
} |
| 4 |
|
| 5 |
--source include/master-slave.inc |
| 6 |
|
| 7 |
|
| 8 |
--connection slave |
| 9 |
install soname "simple_password_check"; |
| 10 |
select @@strict_password_validation; |
| 11 |
|
| 12 |
--connection master |
| 13 |
create user foo1 identified by password '11111111111111111111111111111111111111111'; |
| 14 |
set password for foo1 = PASSWORD('PLAINtext-password!!99'); |
| 15 |
drop user foo1; |
| 16 |
--sync_slave_with_master |
| 17 |
|
| 18 |
--connection slave |
| 19 |
--error ER_OPTION_PREVENTS_STATEMENT |
| 20 |
create user foo1 identified by password '11111111111111111111111111111111111111111'; |
| 21 |
|
| 22 |
uninstall plugin simple_password_check; |
| 23 |
|
| 24 |
--source include/rpl_end.inc |