| 1 |
INSTALL SONAME "simple_password_check"; |
| 2 |
SELECT PLUGIN_NAME FROM INFORMATION_SCHEMA.PLUGINS |
| 3 |
WHERE PLUGIN_NAME='simple_password_check'; |
| 4 |
PLUGIN_NAME |
| 5 |
simple_password_check |
| 6 |
# |
| 7 |
# MDEV-14031 Password policy causes replication failure |
| 8 |
# |
| 9 |
CREATE USER user1@localhost IDENTIFIED BY 'BsG9#9.cem#!85'; |
| 10 |
CREATE USER user2@localhost IDENTIFIED BY 'bsg9#d.cem#!85'; |
| 11 |
ERROR HY000: Your password does not satisfy the current policy requirements (simple_password_check) |
| 12 |
DROP USER user1@localhost; |
| 13 |
include/show_binlog_events.inc |
| 14 |
Log_name Pos Event_type Server_id End_log_pos Info |
| 15 |
master-bin.000001 # Gtid # # GTID #-#-# |
| 16 |
master-bin.000001 # Query # # use `test`; CREATE USER user1@localhost IDENTIFIED BY 'BsG9#9.cem#!85' |
| 17 |
master-bin.000001 # Gtid # # GTID #-#-# |
| 18 |
master-bin.000001 # Query # # use `test`; DROP USER user1@localhost |
| 19 |
UNINSTALL PLUGIN simple_password_check; |