mycat 插入数据而且主键自增的时候 报错java.lang.RuntimeException: can't fetch sequnce in db,sequnce :AP_SHOW_BEHAVIOR detail:null
jvm 1    | HEIMA RULE INFO [0-1]-[{1}]
jvm 1    | 2020-05-10 15:15:48,837 [ERROR][$_NIOREACTOR-0-RW] BatchInsertSequence.route(......) java.lang.RuntimeException: can't fetch sequnce in db,sequnce :AP_SHOW_BEHAVIOR detail:null
jvm 1    |      at io.mycat.route.sequence.handler.IncrSequenceMySQLHandler.getSeqValueFromDB(IncrSequenceMySQLHandler.java:125)
jvm 1    |      at io.mycat.route.sequence.handler.IncrSequenceMySQLHandler.nextId(IncrSequenceMySQLHandler.java:94)
jvm 1    |      at io.mycat.route.sequence.BatchInsertSequence.route(BatchInsertSequence.java:118)
jvm 1    |      at io.mycat.route.handler.HintCatletHandler.route(HintCatletHandler.java:54)
jvm 1    |      at io.mycat.route.RouteService.route(RouteService.java:119)
jvm 1    |      at io.mycat.server.ServerConnection.routeEndExecuteSQL(ServerConnection.java:273)
jvm 1    |      at io.mycat.server.ServerConnection.execute(ServerConnection.java:222)
jvm 1    |      at io.mycat.server.ServerQueryHandler.query(ServerQueryHandler.java:136)
jvm 1    |      at io.mycat.net.FrontendConnection.query(FrontendConnection.java:317)
jvm 1    |      at io.mycat.net.FrontendConnection.query(FrontendConnection.java:337)
jvm 1    |      at io.mycat.net.handler.FrontendCommandHandler.handle(FrontendCommandHandler.java:71)
jvm 1    |      at io.mycat.net.FrontendConnection.rawHandle(FrontendConnection.java:478)
jvm 1    |      at io.mycat.net.FrontendConnection.handle(FrontendConnection.java:460)
jvm 1    |      at io.mycat.net.AbstractConnection.onReadData(AbstractConnection.java:321)
jvm 1    |      at io.mycat.net.NIOSocketWR.asynRead(NIOSocketWR.java:190)
jvm 1    |      at io.mycat.net.AbstractConnection.asynRead(AbstractConnection.java:273)
jvm 1    |      at io.mycat.net.NIOReactor$RW.run(NIOReactor.java:102)
jvm 1    |      at java.lang.Thread.run(Thread.java:748)
jvm 1    |  (io.mycat.route.sequence.BatchInsertSequence:BatchInsertSequence.java:128) 

在liunx跑出现这样的问题
找了很久不知道什么问题

1个回答

图片说明

Csdn user default icon
上传中...
上传图片
插入图片
抄袭、复制答案,以达到刷声望分或其他目的的行为,在CSDN问答是严格禁止的,一经发现立刻封号。是时候展现真正的技术了!
立即提问
相关内容推荐