Startup failed: Timed out waiting for a signal from the JVM.
问题描述
在启动 MyCat 时,产生如下错误信息:
Startup failed: Timed out waiting for a signal from the JVM. JVM did not exit on request, terminated
解决办法
修改 /path/to/mycat/conf/wrapper.conf 文件,追加如下行:
wrapper.startup.timeout=300 wrapper.ping.timeout=120
Call procedure()
Call procedure():MyCat未支持存储过程定义, 因而不允许调用存储过程,但可通过注解来调用各个分片上的存储过程
php 业务报错 1364 filed doesnt have a default value
因为mysql 5.6 以后的默认安全设置的问题:
需要修改mysql的 sql_mod
sql_mode = sql_mode=NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION
报错 The user specified as a definer test@% does not exist
需要在后端库中也建立一个test账号,并且赋予权限
java 业务报错 Connection is read-only
分析文章
https://www.wangzhenhua.rocks/zh-hans/mycat-spring-data-jpa-read-transaction
结论是:
常规的基于Spring管理事务的工程中,不适合使用MyCAT中间件。我们需要做一些额外的调整才能将MyCAT 使用起来,至于如何调整在下一篇文章中讲解。
spring
临时解决方法
连接属性加: useLocalSessionState=true
相关解释:https://blog.csdn.net/aa292016616/article/details/82736054
参考文献
部分内容来自于我朋友写的笔记,他好像没有博客,但是他把他的笔记共享给我了