dothetrick / binlogportal

mysql binlog同步工具
130 stars 58 forks source link

大佬运行报错 这是啥问题呢 #6

Open miaomiaojianglove opened 3 years ago

miaomiaojianglove commented 3 years ago

2021-11-10 14:18:04.262 WARN 25352 --- [iyuncs.com:3306] c.g.shyiko.mysql.binlog.BinaryLogClient : com.insistingon.binlogportal.event.MultiEventHandlerListener@4a7c22b1 choked on Event{header=EventHeaderV4{timestamp=1636524980000, eventType=UPDATE_ROWS, serverId=19404926, headerLength=19, dataLength=4385, nextPosition=280448513, flags=0}, data=UpdateRowsEventData{tableId=327, includedColumnsBeforeUpdate={0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27}, includedColumns={0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27}, rows=[ {before=[2411, [B@491e63ae, -1.00, 0.00, 299.00, 4.00, 0.00, 13, 4, 0, 0, 100, 5, 0, 2, 4, 6, 0, [B@198954f2, [B@644f887d, [B@262dacf6, [B@1c94b88e, [B@4fe9412a, [B@577d34ca, [B@1c7c68cf, 1613460000, 1629539443000, 1629539443000], after=[2411, [B@2515f306, -1.00, 0.00, 299.00, 4.00, 0.00, 13, 4, 0, 0, 100, 5, 5, 2, 4, 6, 0, [B@2070069f, [B@1e15ad3f, [B@61d08422, [B@6bd7d6dd, [B@4bb361c6, [B@787c41da, [B@1de83b63, 1613460000, 1629539443000, 1629539443000]} ]}}

java.lang.NullPointerException: null at com.insistingon.binlogportal.event.MultiEventHandlerListener.lambda$null$0(MultiEventHandlerListener.java:113) ~[binlogportal-1.0.11.jar:na] at java.util.ArrayList.forEach(ArrayList.java:1259) ~[na:1.8.0_291] at com.insistingon.binlogportal.event.MultiEventHandlerListener.lambda$onEvent$1(MultiEventHandlerListener.java:111) ~[binlogportal-1.0.11.jar:na] at java.util.ArrayList.forEach(ArrayList.java:1259) ~[na:1.8.0_291] at com.insistingon.binlogportal.event.MultiEventHandlerListener.onEvent(MultiEventHandlerListener.java:110) ~[binlogportal-1.0.11.jar:na] at com.github.shyiko.mysql.binlog.BinaryLogClient.notifyEventListeners(BinaryLogClient.java:1158) [mysql-binlog-connector-java-0.21.0.jar:0.21.0] at com.github.shyiko.mysql.binlog.BinaryLogClient.listenForEventPackets(BinaryLogClient.java:1005) [mysql-binlog-connector-java-0.21.0.jar:0.21.0] at com.github.shyiko.mysql.binlog.BinaryLogClient.connectWithTimeout(BinaryLogClient.java:517) [mysql-binlog-connector-java-0.21.0.jar:0.21.0] at com.github.shyiko.mysql.binlog.BinaryLogClient.access$1100(BinaryLogClient.java:90) [mysql-binlog-connector-java-0.21.0.jar:0.21.0] at com.github.shyiko.mysql.binlog.BinaryLogClient$7.run(BinaryLogClient.java:881) [mysql-binlog-connector-java-0.21.0.jar:0.21.0] at java.lang.Thread.run(Thread.java:748) [na:1.8.0_291]

peng909300035 commented 2 years ago

image

Hkion commented 2 years ago

com.github.shyiko.mysql.binlog.network.AuthenticationException: Client does not support authentication protocol requested by server; consider upgrading MySQL client at com.github.shyiko.mysql.binlog.BinaryLogClient.authenticate(BinaryLogClient.java:755) ~[mysql-binlog-connector-java-0.21.0.jar:0.21.0] at com.github.shyiko.mysql.binlog.BinaryLogClient.openChannelToBinaryLogStream(BinaryLogClient.java:555) ~[mysql-binlog-connector-java-0.21.0.jar:0.21.0] at com.github.shyiko.mysql.binlog.BinaryLogClient.connectWithTimeout(BinaryLogClient.java:504) ~[mysql-binlog-connector-java-0.21.0.jar:0.21.0] at com.github.shyiko.mysql.binlog.BinaryLogClient.connect(BinaryLogClient.java:490) ~[mysql-binlog-connector-java-0.21.0.jar:0.21.0] at com.insistingon.binlogportal.distributed.RedisDistributedHandler$1.lambda$run$0(RedisDistributedHandler.java:61) ~[classes/:na] at java.util.HashMap.forEach(HashMap.java:1291) ~[na:1.8.0_311] at com.insistingon.binlogportal.distributed.RedisDistributedHandler$1.run(RedisDistributedHandler.java:56) ~[classes/:na] at java.util.TimerThread.mainLoop(Timer.java:555) ~[na:1.8.0_311] at java.util.TimerThread.run(Timer.java:505) ~[na:1.8.0_311] 大佬这是啥问题啊,我连5.7版本的数据库是正常的.好像到8版本就不行了