nacos的mysql数据持久化
来源:12-7 搭建生产可用的Nacos集群
拼搏的蜗牛
2021-03-27
老师,nacos可以实现mysql数据连接池吗?
然后更新配置报错:
org.springframework.jdbc.CannotGetJdbcConnectionException: PreparedStatementCallback; Could not retrieve transation read
-only status server; nested exception is java.sql.SQLException: Could not retrieve transation read-only status server
at com.alibaba.nacos.config.server.exception.GlobalExceptionHandler.handleDataAccessException(GlobalExceptionHan
dler.java:76)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
1回答
-
拼搏的蜗牛
提问者
2021-03-27
使用nacos-1.4.1,不在出现问题。且1.4.1版本增加了连接池。
012021-03-29
相似问题