主备同步

151211 17:44:16 [Warning] '--skip-locking' is deprecated and will be removed in a future release. Please use '--skip-external-locking' instead.
151211 17:44:17 [Warning] Neither --relay-log nor --relay-log-index were used; so replication may break when this MySQL server acts as a slave and has his hostname changed!! Please use '--relay-log=CRong-relay-bin' to avoid this problem.
151211 17:44:17 [Note] Slave SQL thread initialized, starting replication in log 'mysql-bin.000001' at position 106, relay log './CRong-relay-bin.000412' position: 4
151211 17:44:17 [Note] Event Scheduler: Loaded 0 events
151211 17:44:17 [Note] /mnt/data/mysql-arm/libexec/mysqld: ready for connections.
Version: '5.1.73-log'  socket: '/mnt/data/mysql-arm/etc/mysql.sock'  port: 3306  Source distribution
151211 17:44:18 [ERROR] Slave I/O: error connecting to master '[email protected]:3306' - retry-time: 60  retries: 86400, Error_code: 1130


151211 17:44:34 mysqld_safe Starting mysqld daemon with databases from /mnt/data/mysql-arm/var
151211 17:44:34 [Warning] '--skip-locking' is deprecated and will be removed in a future release. Please use '--skip-external-locking' instead.
151211 17:44:35 [Warning] Neither --relay-log nor --relay-log-index were used; so replication may break when this MySQL server acts as a slave and has his hostname changed!! Please use '--relay-log=CRong-relay-bin' to avoid this problem.
151211 17:44:35 [Note] Slave SQL thread initialized, starting replication in log 'mysql-bin.000001' at position 106, relay log './CRong-relay-bin.000407' position: 4
151211 17:44:35 [Note] Event Scheduler: Loaded 0 events
151211 17:44:35 [Note] /mnt/data/mysql-arm/libexec/mysqld: ready for connections.
Version: '5.1.73-log'  socket: '/mnt/data/mysql-arm/etc/mysql.sock'  port: 3306  Source distribution
151211 17:44:35 [ERROR] Slave I/O: error connecting to master '[email protected]:3306' - retry-time: 60  retries: 86400, Error_code: 1130
151211 17:44:39 [Note] Error reading relay log event: slave SQL thread was killed
151211 17:44:39 [Note] Slave I/O thread killed while connecting to master
151211 17:44:39 [Note] Slave I/O thread exiting, read up to log 'mysql-bin.000001', position 106


你可能感兴趣的:(主备同步)