摘要: 看了下mysql-connector-5.1.40版本中,如果设置failoverReadOnly=true (即默认值,参考链接),当mysql连接failover时,会根据jdbc连接串将当前连接的readOnly值设置为true (第8行代码) 1 2 3 4 5 6 7 8 9 10 11 阅读全文
posted @ 2018-02-06 09:55 Entropy_lxl 阅读(617) 评论(0) 推荐(0) 编辑