Current Path : /home/usr.opt/mysql57/mysql-test/suite/binlog/r/ |
FreeBSD hs32.drive.ne.jp 9.1-RELEASE FreeBSD 9.1-RELEASE #1: Wed Jan 14 12:18:08 JST 2015 root@hs32.drive.ne.jp:/sys/amd64/compile/hs32 amd64 |
Current File : /home/usr.opt/mysql57/mysql-test/suite/binlog/r/log_builtin_as_identified_by_password.result |
include/master-slave.inc Warnings: Note #### Sending passwords in plain text without SSL/TLS is extremely insecure. Note #### Storing MySQL user name or password information in the master info repository is not secure and is therefore not recommended. Please consider using the USER and PASSWORD connection options for START SLAVE; see the 'START SLAVE Syntax' in the MySQL Manual for more information. [connection master] SHOW GLOBAL VARIABLES LIKE 'log_builtin_as_identified_by_password'; Variable_name Value log_builtin_as_identified_by_password ON # # Bug#21516392 : PREVENT ACCOUNT MANAGEMENT STATEMENTS FROM # INJECTING ACCOUNT ATTRIBUTES # Bug#20535561 : CREATE USER IN BINLOG WITH # LOG_BACKWARD_COMPATIBLE_USER_DEFINITIONS ON # [On Master] CREATE USER u1@localhost PASSWORD EXPIRE NEVER; CREATE USER u2@localhost ACCOUNT LOCK; CREATE USER u3@localhost; CREATE USER u4@localhost IDENTIFIED WITH 'mysql_native_password'; CREATE USER u5@localhost IDENTIFIED WITH 'mysql_native_password' AS '*67092806AE91BFB6BE72DE6C7BE2B7CCA8CFA9DF'; CREATE USER u6@localhost IDENTIFIED BY 'abcd'; CREATE USER u7@localhost IDENTIFIED WITH 'mysql_native_password' by 'abcd'; ALTER USER u1@localhost IDENTIFIED BY 'abcd'; ALTER USER u2@localhost ACCOUNT LOCK; ALTER USER u3@localhost PASSWORD EXPIRE NEVER; ALTER USER u4@localhost IDENTIFIED WITH 'mysql_native_password' AS '*67092806AE91BFB6BE72DE6C7BE2B7CCA8CFA9DF'; ALTER USER u1@localhost PASSWORD EXPIRE; ALTER USER u2@localhost IDENTIFIED BY 'abcd', u3@localhost PASSWORD EXPIRE; ALTER USER u4@localhost IDENTIFIED BY 'abcd', u5@localhost ACCOUNT LOCK; ALTER USER u5@localhost, u6@localhost PASSWORD EXPIRE ACCOUNT LOCK; DROP USER u1@localhost; DROP USER u2@localhost; DROP USER u3@localhost; DROP USER u4@localhost; DROP USER u5@localhost; DROP USER u6@localhost; DROP USER u7@localhost; include/show_binlog_events.inc Log_name Pos Event_type Server_id End_log_pos Info master-bin.000001 # Query # # use `test`; CREATE USER 'u1'@'localhost' IDENTIFIED BY PASSWORD '*BE1BDEC0AA74B4DCB079943E70528096CCA985F8' PASSWORD EXPIRE NEVER master-bin.000001 # Query # # use `test`; CREATE USER 'u2'@'localhost' IDENTIFIED BY PASSWORD '*BE1BDEC0AA74B4DCB079943E70528096CCA985F8' ACCOUNT LOCK master-bin.000001 # Query # # use `test`; CREATE USER 'u3'@'localhost' IDENTIFIED BY PASSWORD '*BE1BDEC0AA74B4DCB079943E70528096CCA985F8' master-bin.000001 # Query # # use `test`; CREATE USER 'u4'@'localhost' IDENTIFIED BY PASSWORD '*BE1BDEC0AA74B4DCB079943E70528096CCA985F8' master-bin.000001 # Query # # use `test`; CREATE USER 'u5'@'localhost' IDENTIFIED BY PASSWORD '*67092806AE91BFB6BE72DE6C7BE2B7CCA8CFA9DF' master-bin.000001 # Query # # use `test`; CREATE USER 'u6'@'localhost' IDENTIFIED BY PASSWORD '*7957FD7024C720D807B8F2B36F8185F5D2A75A31' master-bin.000001 # Query # # use `test`; CREATE USER 'u7'@'localhost' IDENTIFIED BY PASSWORD '*7957FD7024C720D807B8F2B36F8185F5D2A75A31' master-bin.000001 # Query # # use `test`; ALTER USER 'u1'@'localhost' IDENTIFIED WITH 'mysql_native_password' AS '*A154C52565E9E7F94BFC08A1FE702624ED8EFFDA' master-bin.000001 # Query # # use `test`; ALTER USER 'u2'@'localhost' ACCOUNT LOCK master-bin.000001 # Query # # use `test`; ALTER USER 'u3'@'localhost' PASSWORD EXPIRE NEVER master-bin.000001 # Query # # use `test`; ALTER USER 'u4'@'localhost' IDENTIFIED WITH 'mysql_native_password' AS '*67092806AE91BFB6BE72DE6C7BE2B7CCA8CFA9DF' master-bin.000001 # Query # # use `test`; ALTER USER 'u1'@'localhost' PASSWORD EXPIRE master-bin.000001 # Query # # use `test`; ALTER USER 'u2'@'localhost' IDENTIFIED WITH 'mysql_native_password' AS '*A154C52565E9E7F94BFC08A1FE702624ED8EFFDA','u3'@'localhost' PASSWORD EXPIRE master-bin.000001 # Query # # use `test`; ALTER USER 'u4'@'localhost' IDENTIFIED WITH 'mysql_native_password' AS '*A154C52565E9E7F94BFC08A1FE702624ED8EFFDA','u5'@'localhost' ACCOUNT LOCK master-bin.000001 # Query # # use `test`; ALTER USER 'u5'@'localhost','u6'@'localhost' PASSWORD EXPIRE ACCOUNT LOCK master-bin.000001 # Query # # use `test`; DROP USER u1@localhost master-bin.000001 # Query # # use `test`; DROP USER u2@localhost master-bin.000001 # Query # # use `test`; DROP USER u3@localhost master-bin.000001 # Query # # use `test`; DROP USER u4@localhost master-bin.000001 # Query # # use `test`; DROP USER u5@localhost master-bin.000001 # Query # # use `test`; DROP USER u6@localhost master-bin.000001 # Query # # use `test`; DROP USER u7@localhost include/sync_slave_sql_with_master.inc [On Slave] include/show_binlog_events.inc Log_name Pos Event_type Server_id End_log_pos Info slave-bin.000001 # Query # # use `test`; CREATE USER 'u1'@'localhost' IDENTIFIED WITH 'mysql_native_password' AS '*BE1BDEC0AA74B4DCB079943E70528096CCA985F8' PASSWORD EXPIRE NEVER slave-bin.000001 # Query # # use `test`; CREATE USER 'u2'@'localhost' IDENTIFIED WITH 'mysql_native_password' AS '*BE1BDEC0AA74B4DCB079943E70528096CCA985F8' ACCOUNT LOCK slave-bin.000001 # Query # # use `test`; CREATE USER 'u3'@'localhost' IDENTIFIED WITH 'mysql_native_password' AS '*BE1BDEC0AA74B4DCB079943E70528096CCA985F8' slave-bin.000001 # Query # # use `test`; CREATE USER 'u4'@'localhost' IDENTIFIED WITH 'mysql_native_password' AS '*BE1BDEC0AA74B4DCB079943E70528096CCA985F8' slave-bin.000001 # Query # # use `test`; CREATE USER 'u5'@'localhost' IDENTIFIED WITH 'mysql_native_password' AS '*67092806AE91BFB6BE72DE6C7BE2B7CCA8CFA9DF' slave-bin.000001 # Query # # use `test`; CREATE USER 'u6'@'localhost' IDENTIFIED WITH 'mysql_native_password' AS '*7957FD7024C720D807B8F2B36F8185F5D2A75A31' slave-bin.000001 # Query # # use `test`; CREATE USER 'u7'@'localhost' IDENTIFIED WITH 'mysql_native_password' AS '*7957FD7024C720D807B8F2B36F8185F5D2A75A31' slave-bin.000001 # Query # # use `test`; ALTER USER 'u1'@'localhost' IDENTIFIED WITH 'mysql_native_password' AS '*A154C52565E9E7F94BFC08A1FE702624ED8EFFDA' slave-bin.000001 # Query # # use `test`; ALTER USER 'u2'@'localhost' ACCOUNT LOCK slave-bin.000001 # Query # # use `test`; ALTER USER 'u3'@'localhost' PASSWORD EXPIRE NEVER slave-bin.000001 # Query # # use `test`; ALTER USER 'u4'@'localhost' IDENTIFIED WITH 'mysql_native_password' AS '*67092806AE91BFB6BE72DE6C7BE2B7CCA8CFA9DF' slave-bin.000001 # Query # # use `test`; ALTER USER 'u1'@'localhost' PASSWORD EXPIRE slave-bin.000001 # Query # # use `test`; ALTER USER 'u2'@'localhost' IDENTIFIED WITH 'mysql_native_password' AS '*A154C52565E9E7F94BFC08A1FE702624ED8EFFDA','u3'@'localhost' PASSWORD EXPIRE slave-bin.000001 # Query # # use `test`; ALTER USER 'u4'@'localhost' IDENTIFIED WITH 'mysql_native_password' AS '*A154C52565E9E7F94BFC08A1FE702624ED8EFFDA','u5'@'localhost' ACCOUNT LOCK slave-bin.000001 # Query # # use `test`; ALTER USER 'u5'@'localhost','u6'@'localhost' PASSWORD EXPIRE ACCOUNT LOCK slave-bin.000001 # Query # # use `test`; DROP USER u1@localhost slave-bin.000001 # Query # # use `test`; DROP USER u2@localhost slave-bin.000001 # Query # # use `test`; DROP USER u3@localhost slave-bin.000001 # Query # # use `test`; DROP USER u4@localhost slave-bin.000001 # Query # # use `test`; DROP USER u5@localhost slave-bin.000001 # Query # # use `test`; DROP USER u6@localhost slave-bin.000001 # Query # # use `test`; DROP USER u7@localhost include/rpl_end.inc End of 5.7 tests!