mysql复制问题

Posted geek_ace

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了mysql复制问题相关的知识,希望对你有一定的参考价值。

2017-08-23 03:09:33 68369 [Warning] ‘proxies_priv‘ entry ‘@ [email protected]‘ ignored in --skip-name-resolve mode.
2017-08-24 02:45:10 68369 [Warning] 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.
2017-08-24 02:45:10 68369 [Note] Slave SQL thread initialized, starting replication in log ‘mysql-bin.000065‘ at position 66093683, relay log ‘./relay-bin.000135‘ position: 8568713
2017-08-24 02:45:10 68369 [Note] Slave I/O thread: connected to master ‘[email protected]:3306‘,replication started in log ‘mysql-bin.000065‘ at position 66093683
2017-09-04 03:18:17 68369 [Warning] 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.
2017-09-04 03:18:47 68369 [ERROR] Slave I/O: error reconnecting to master ‘[email protected]:3306‘ - retry-time: 60 retries: 1, Error_code: 2003
2017-09-04 03:20:17 68369 [ERROR] Slave I/O: error reconnecting to master ‘[email protected]:3306‘ - retry-time: 60 retries: 2, Error_code: 2003
2017-09-04 03:21:47 68369 [ERROR] Slave I/O: error reconnecting to master ‘[email protected]:3306‘ - retry-time: 60 retries: 3, Error_code: 2003
2017-09-04 03:23:17 68369 [ERROR] Slave I/O: error reconnecting to master ‘[email protected]:3306‘ - retry-time: 60 retries: 4, Error_code: 2003
2017-09-04 03:24:48 68369 [ERROR] Slave I/O: error reconnecting to master ‘[email protected]:3306‘ - retry-time: 60 retries: 5, Error_code: 2003
2017-09-04 03:26:18 68369 [ERROR] Slave I/O: error reconnecting to master ‘[email protected]:3306‘ - retry-time: 60 retries: 6, Error_code: 2003
2017-09-04 03:27:48 68369 [ERROR] Slave I/O: error reconnecting to master ‘[email protected]:3306‘ - retry-time: 60 retries: 7, Error_code: 2003
2017-09-04 03:29:18 68369 [ERROR] Slave I/O: error reconnecting to master ‘[email protected]:3306‘ - retry-time: 60 retries: 8, Error_code: 2003
2017-09-04 03:30:48 68369 [ERROR] Slave I/O: error reconnecting to master ‘[email protected]:3306‘ - retry-time: 60 retries: 9, Error_code: 2003
2017-09-04 03:32:18 68369 [ERROR] Slave I/O: error reconnecting to master ‘[email protected]:3306‘ - retry-time: 60 retries: 10, Error_code: 2003
2017-09-04 03:33:48 68369 [ERROR] Slave I/O: error reconnecting to master ‘[email protected]:3306‘ - retry-time: 60 retries: 11, Error_code: 2003
2017-09-04 03:35:18 68369 [ERROR] Slave I/O: error reconnecting to master ‘[email protected]:3306‘ - retry-time: 60 retries: 12, Error_code: 2003
2017-09-04 03:36:48 68369 [ERROR] Slave I/O: error reconnecting to master ‘[email protected]:3306‘ - retry-time: 60 retries: 13, Error_code: 2003
2017-09-04 03:38:18 68369 [ERROR] Slave I/O: error reconnecting to master ‘[email protected]:3306‘ - retry-time: 60 retries: 14, Error_code: 2003
2017-09-04 03:39:48 68369 [ERROR] Slave I/O: error reconnecting to master ‘[email protected]:3306‘ - retry-time: 60 retries: 15, Error_code: 2003
2017-09-04 03:41:18 68369 [ERROR] Slave I/O: error reconnecting to master ‘[email protected]:3306‘ - retry-time: 60 retries: 16, Error_code: 2003
2017-09-04 03:42:48 68369 [ERROR] Slave I/O: error reconnecting to master ‘[email protected]:3306‘ - retry-time: 60 retries: 17, Error_code: 2003
2017-09-04 03:44:18 68369 [ERROR] Slave I/O: error reconnecting to master ‘[email protected]:3306‘ - retry-time: 60 retries: 18, Error_code: 2003
2017-09-04 03:45:48 68369 [ERROR] Slave I/O: error reconnecting to master ‘[email protected]:3306‘ - retry-time: 60 retries: 19, Error_code: 2003
2017-09-04 03:47:18 68369 [ERROR] Slave I/O: error reconnecting to master ‘[email protected]:3306‘ - retry-time: 60 retries: 20, Error_code: 2003
2017-09-04 03:48:48 68369 [ERROR] Slave I/O: error reconnecting to master ‘[email protected]:3306‘ - retry-time: 60 retries: 21, Error_code: 2003
2017-09-04 03:50:18 68369 [ERROR] Slave I/O: error reconnecting to master ‘[email protected]:3306‘ - retry-time: 60 retries: 22, Error_code: 2003
2017-09-04 03:51:48 68369 [ERROR] Slave I/O: error reconnecting to master ‘[email protected]:3306‘ - retry-time: 60 retries: 23, Error_code: 2003
2017-09-04 03:53:18 68369 [ERROR] Slave I/O: error reconnecting to master ‘[email protected]:3306‘ - retry-time: 60 retries: 24, Error_code: 2003
2017-09-04 03:54:48 68369 [ERROR] Slave I/O: error reconnecting to master ‘[email protected]:3306‘ - retry-time: 60 retries: 25, Error_code: 2003
2017-09-04 03:56:18 68369 [ERROR] Slave I/O: error reconnecting to master ‘[email protected]:3306‘ - retry-time: 60 retries: 26, Error_code: 2003
2017-09-04 03:57:48 68369 [ERROR] Slave I/O: error reconnecting to master ‘[email protected]:3306‘ - retry-time: 60 retries: 27, Error_code: 2003
2017-09-04 03:59:18 68369 [ERROR] Slave I/O: error reconnecting to master ‘[email protected]:3306‘ - retry-time: 60 retries: 28, Error_code: 2003
2017-09-04 04:00:48 68369 [ERROR] Slave I/O: error reconnecting to master ‘[email protected]:3306‘ - retry-time: 60 retries: 29, Error_code: 2003
2017-09-04 04:02:18 68369 [ERROR] Slave I/O: error reconnecting to master ‘[email protected]:3306‘ - retry-time: 60 retries: 30, Error_code: 2003
2017-09-04 04:03:18 68369 [Note] Slave: connected to master ‘[email protected]:3306‘,replication resumed in log ‘mysql-bin.000078‘ at position 49163864
2017-09-16 12:17:59 68369 [Warning] 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.
2017-09-16 12:18:29 68369 [ERROR] Slave I/O: error reconnecting to master ‘[email protected]:3306‘ - retry-time: 60 retries: 1, Error_code: 2003
2017-09-16 12:19:59 68369 [ERROR] Slave I/O: error reconnecting to master ‘[email protected]:3306‘ - retry-time: 60 retries: 2, Error_code: 2003
2017-09-16 12:21:29 68369 [ERROR] Slave I/O: error reconnecting to master ‘[email protected]:3306‘ - retry-time: 60 retries: 3, Error_code: 2003
2017-09-16 12:22:59 68369 [ERROR] Slave I/O: error reconnecting to master ‘[email protected]:3306‘ - retry-time: 60 retries: 4, Error_code: 2003
2017-09-16 12:24:29 68369 [ERROR] Slave I/O: error reconnecting to master ‘[email protected]:3306‘ - retry-time: 60 retries: 5, Error_code: 2003
2017-09-16 12:25:59 68369 [ERROR] Slave I/O: error reconnecting to master ‘[email protected]:3306‘ - retry-time: 60 retries: 6, Error_code: 2003
2017-09-16 12:27:29 68369 [ERROR] Slave I/O: error reconnecting to master ‘[email protected]:3306‘ - retry-time: 60 retries: 7, Error_code: 2003
2017-09-16 12:28:59 68369 [ERROR] Slave I/O: error reconnecting to master ‘[email protected]:3306‘ - retry-time: 60 retries: 8, Error_code: 2003
2017-09-16 12:30:29 68369 [ERROR] Slave I/O: error reconnecting to master ‘[email protected]:3306‘ - retry-time: 60 retries: 9, Error_code: 2003
2017-09-16 12:31:59 68369 [ERROR] Slave I/O: error reconnecting to master ‘[email protected]:3306‘ - retry-time: 60 retries: 10, Error_code: 2003
2017-09-16 12:33:29 68369 [ERROR] Slave I/O: error reconnecting to master ‘[email protected]:3306‘ - retry-time: 60 retries: 11, Error_code: 2003
2017-09-16 12:34:59 68369 [ERROR] Slave I/O: error reconnecting to master ‘[email protected]:3306‘ - retry-time: 60 retries: 12, Error_code: 2003
2017-09-16 12:36:29 68369 [ERROR] Slave I/O: error reconnecting to master ‘[email protected]:3306‘ - retry-time: 60 retries: 13, Error_code: 2003
2017-09-16 12:37:59 68369 [ERROR] Slave I/O: error reconnecting to master ‘[email protected]:3306‘ - retry-time: 60 retries: 14, Error_code: 2003
2017-09-16 12:39:29 68369 [ERROR] Slave I/O: error reconnecting to master ‘[email protected]:3306‘ - retry-time: 60 retries: 15, Error_code: 2003
2017-09-16 12:40:30 68369 [ERROR] Slave I/O: error reconnecting to master ‘[email protected]:3306‘ - retry-time: 60 retries: 16, Error_code: 2003
2017-09-16 12:41:30 68369 [ERROR] Slave I/O: error reconnecting to master ‘[email protected]:3306‘ - retry-time: 60 retries: 17, Error_code: 2003
2017-09-16 12:42:30 68369 [ERROR] Slave I/O: error reconnecting to master ‘[email protected]:3306‘ - retry-time: 60 retries: 18, Error_code: 2003
2017-09-16 12:43:30 68369 [Note] Slave: connected to master ‘[email protected]:3306‘,replication resumed in log ‘mysql-bin.000089‘ at position 86859359
2017-09-16 12:43:30 68369 [ERROR] Error reading packet from server: Client requested master to start replication from position > file size; the first event ‘mysql-bin.000089‘ at 86859359, the last event read from ‘./mysql-bin.000089‘ at 4, the last byte read from ‘./mysql-bin.000089‘ at 4. ( server_errno=1236)
2017-09-16 12:43:30 68369 [ERROR] Slave I/O: Got fatal error 1236 from master when reading data from binary log: ‘Client requested master to start replication from position > file size; the first event ‘mysql-bin.000089‘ at 86859359, the last event read from ‘./mysql-bin.000089‘ at 4, the last byte read from ‘./mysql-bin.000089‘ at 4.‘, Error_code: 1236
2017-09-16 12:43:30 68369 [Note] Slave I/O thread exiting, read up to log ‘mysql-bin.000089‘, position 86859359



























































以上是关于mysql复制问题的主要内容,如果未能解决你的问题,请参考以下文章

docker 配置mysql8主从复制出现的问题

第五章:MySQL主从复制

MySQL的复制

MySQL主从复制-GTID原理

20181204 MySQL 双主复制是如何避免回环复制的

mysql 5.7多源复制如何去掉一个复制源