Current Path : /usr/opt/mysql57/mysql-test/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 : //usr/opt/mysql57/mysql-test/r/rpl_connect_attr.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] ==== Case 1: slave connection ==== SELECT ATTR_NAME, ATTR_VALUE FROM performance_schema.session_connect_attrs WHERE PROCESSLIST_ID = <thread_id> AND ATTR_NAME IN ('program_name', '_client_replication_channel_name', '_client_role'); ATTR_NAME ATTR_VALUE program_name mysqld _client_replication_channel_name NULL _client_role binary_log_listener ==== Case 2: mysqlbinlog connection ==== [connection slave] include/stop_slave.inc [connection master] include/stop_dump_threads.inc # Start mysqlbinlog SELECT ATTR_NAME, ATTR_VALUE FROM performance_schema.session_connect_attrs WHERE PROCESSLIST_ID = <thread_id> AND ATTR_NAME IN ('program_name', '_client_replication_channel_name', '_client_role'); ATTR_NAME ATTR_VALUE program_name mysqlbinlog _client_role binary_log_listener KILL <thread_id>; include/rpl_end.inc