Could not retrieve transation read-only status server【解决方法】

今天爱分享给大家带来Could not retrieve transation read-only status server【解决方法】,希望能够帮助到大家。
1. 错误信息

服务器是只读状态


com.alibaba.druid.pool.DruidDataSource error
严重: create connection holder error
java.sql.SQLException: Could not retrieve transation read-only status server


Could not retrieve transation read-only status server【解决方法】插图

2.解决方法:

将mysql数据库连接的版本修改即可
Could not retrieve transation read-only status server【解决方法】插图(1)

3. 输出结果

Could not retrieve transation read-only status server【解决方法】插图(2)

人已赞赏
数据库

ERROR1010:Error dropping database can't rmdir './test/', errno: 17【解决方法】

2020-12-7 15:19:55

数据库

MySQL 【附代码】ORDER BY clause is not in GROUP BY clause and contains 【解决方法】

2020-12-7 17:13:12