2016-06-23 15:06:31 [2] info : Execute statement (truncated, it contains password) from the slave 'change master to master_host='172.31.32.117',master_port=3306,master_user='repl',master_...'
|
2016-06-23 15:06:31 [2] info : Replication: New MASTER_USER is [repl]
|
2016-06-23 15:06:31 [2] info : Replication: New MASTER_HOST is [172.31.32.117]
|
2016-06-23 15:06:31 [2] info : Replication: New MASTER_PORT is [3306]
|
2016-06-23 15:06:31 [2] info : Replication: New MASTER_LOG_FILE is [mysqld-bin.000002]
|
2016-06-23 15:06:31 [2] info : Replication: New MASTER_LOG_POS is [4]
|
2016-06-23 15:06:31 notice : Replication: 'CHANGE MASTER TO executed'. Previous state MASTER_HOST='_none_', MASTER_PORT=3306, MASTER_LOG_FILE='', MASTER_LOG_POS=0, MASTER_USER='maxscale'. New state is MASTER_HOST='172.31.32.117', MASTER_PORT=3306, MASTER_LOG_FILE='mysqld-bin.000002', MASTER_LOG_POS=4, MASTER_USER='repl'
|
2016-06-23 15:06:31 debug : 140013012002560 [dcb_write] Append to writequeue. 4 writes buffered for dcb 0x7f574c000a40 in state DCB_STATE_POLLING fd 4
|
2016-06-23 15:06:31 debug : 140013012002560 [dcb_drain_writeq] Wrote 11 Bytes to dcb 0x7f574c000a40 in state DCB_STATE_POLLING fd 4
|
...snip...
|
2016-06-23 15:06:49 [2] info : Execute statement from the slave 'start slave'
|
2016-06-23 15:06:49 [2] info : Started session [0] for Replication service
|
2016-06-23 15:06:49 notice : Loaded module MySQLBackend: V2.0.0 from /usr/lib64/maxscale/libMySQLBackend.so
|
2016-06-23 15:06:49 debug : 140013001512704 [gw_do_connect_to_backend] Connected to backend server 172.31.32.117:3306, fd 13.
|
2016-06-23 15:06:49 debug : 140013001512704 [gw_create_backend_connection] Connection pending to 172.31.32.117:3306, protocol fd 13 client fd -1.
|
2016-06-23 15:06:49 debug : 140013001512704 [dcb_connect] Connected to server 172.31.32.117:3306, from backend dcb 0x7f5744000ee0, client dcp 0x7f5744000b00 fd -1.
|
2016-06-23 15:06:49 debug : 140013001512704 [poll_add_dcb] Added dcb 0x7f5744000ee0 in state DCB_STATE_POLLING to poll set.
|
2016-06-23 15:06:49 notice : Replication: attempting to connect to master server 172.31.32.117:3306, binlog mysqld-bin.000002, pos 4
|
2016-06-23 15:06:49 debug : 140013001512704 [gw_MySQLWrite_backend] delayed write to dcb 0x7f5744000ee0 fd 13 protocol state MYSQL_PENDING_CONNECT.
|
2016-06-23 15:06:49 notice : Replication: START SLAVE executed by maxscale@127.0.0.1. Trying connection to master 172.31.32.117:3306, binlog mysqld-bin.000002, pos 4, transaction safe pos 4
|
2016-06-23 15:06:49 debug : 140013442922464 [poll_waitevents] epoll_wait found 1 fds
|
2016-06-23 15:06:49 debug : 140013012002560 [poll_waitevents] epoll_wait found 1 fds
|
2016-06-23 15:06:49 debug : Loading data from backend database [172.31.32.117:3306] for service [Replication]
|
2016-06-23 15:06:49 debug : Replication: Adding database db1 to the resouce hash.
|
2016-06-23 15:06:49 debug : Replication: Adding database information_schema to the resouce hash.
|
2016-06-23 15:06:49 debug : Replication: Adding database mysql to the resouce hash.
|
2016-06-23 15:06:49 debug : Replication: Adding database performance_schema to the resouce hash.
|
2016-06-23 15:06:49 debug : Replication: Adding database test to the resouce hash.
|
2016-06-23 15:06:49 debug : Loaded 5 MySQL Database Names for service [Replication]
|
2016-06-23 15:06:49 [2] info : Replication: User appuser@localhost for database no db added to service user table.
|
2016-06-23 15:06:49 [2] info : Replication: User appuser@% for database no db added to service user table.
|
2016-06-23 15:06:49 warning: Duplicate MySQL user found for service [Replication]: maxscale@% for database: (null)
|
2016-06-23 15:06:49 [2] info : Replication: User repl@% for database no db added to service user table.
|
2016-06-23 15:06:49 [2] info : Replication: User sst@% for database no db added to service user table.
|
2016-06-23 15:06:49 debug : 140013001512704 [dcb_write] Append to writequeue. 121 writes buffered for dcb 0x7f574c000a40 in state DCB_STATE_POLLING fd 4
|
2016-06-23 15:06:49 debug : 140013001512704 [dcb_drain_writeq] Wrote 11 Bytes to dcb 0x7f574c000a40 in state DCB_STATE_POLLING fd 4
|
2016-06-23 15:06:49 debug : 140013001512704 [poll_waitevents] event 5 dcb 0x7f5744000ee0 role DCB_ROLE_REQUEST_HANDLER
|
2016-06-23 15:06:49 debug : 140013001512704 [gw_write_backend_event] wrote to dcb 0x7f5744000ee0 fd 13, return 1
|
2016-06-23 15:06:49 debug : 140013001512704 [poll_waitevents] Read in dcb 0x7f5744000ee0 fd 13
|
2016-06-23 15:06:49 debug : 140013001512704 [gw_read_backend_event] Read dcb 0x7f5744000ee0 fd 13 protocol state 2, MYSQL_CONNECTED.
|
2016-06-23 15:06:49 debug : 140013001512704 [dcb_read] Read 99 bytes from dcb 0x7f5744000ee0 in state DCB_STATE_POLLING fd 13.
|
2016-06-23 15:06:49 debug : 140013001512704 [dcb_write] Append to writequeue. 1 writes buffered for dcb 0x7f5744000ee0 in state DCB_STATE_POLLING fd 13
|
2016-06-23 15:06:49 debug : 140013001512704 [dcb_drain_writeq] Wrote 84 Bytes to dcb 0x7f5744000ee0 in state DCB_STATE_POLLING fd 13
|
2016-06-23 15:06:49 debug : 140013001512704 [gw_receive_backend_auth] Read zero bytes from backend dcb 0x7f5744000ee0 fd 13 in state DCB_STATE_POLLING. n 0, head (nil), len 0
|
2016-06-23 15:06:49 debug : 140013001512704 [gw_read_backend_event] gw_receive_backend_auth read successfully nothing. dcb 0x7f5744000ee0 fd 13, user repl.
|
2016-06-23 15:06:49 debug : 140013001512704 [poll_waitevents] epoll_wait found 1 fds
|
2016-06-23 15:06:49 debug : 140013001512704 [poll_waitevents] event 8197 dcb 0x7f5744000ee0 role DCB_ROLE_REQUEST_HANDLER
|
2016-06-23 15:06:49 debug : 140013001512704 [gw_write_backend_event] wrote to dcb 0x7f5744000ee0 fd 13, return 1
|
2016-06-23 15:06:49 debug : 140013001512704 [poll_waitevents] Read in dcb 0x7f5744000ee0 fd 13
|
2016-06-23 15:06:49 debug : 140013001512704 [gw_read_backend_event] Read dcb 0x7f5744000ee0 fd 13 protocol state 4, MYSQL_AUTH_RECV.
|
2016-06-23 15:06:49 debug : 140013001512704 [dcb_read] Read 110 bytes from dcb 0x7f5744000ee0 in state DCB_STATE_POLLING fd 13.
|
2016-06-23 15:06:49 debug : 140013001512704 [gw_receive_backend_auth] Invalid authentication message from backend dcb 0x7f5744000ee0 fd 13, ptr[4] = 255, error 28000, msg Access denied for user 'repl'@'ip-172-31-47-243.us-west-2.compute.internal' (using password: YES).
|
2016-06-23 15:06:49 error : Invalid authentication message from backend. Error : 28000, Msg : Access denied for user 'repl'@'ip-172-31-47-243.us-west-2.compute.internal' (using password: YES)
|
2016-06-23 15:06:49 debug : 140013001512704 [gw_read_backend_event] after gw_receive_backend_authentication fd 13, state = MYSQL_AUTH_FAILED.
|
2016-06-23 15:06:49 error : Backend server didn't accept authentication for user repl.
|