
mysql
tk_zhang
这个作者很懒,什么都没留下…
展开
-
mysql “Communications link failure due to underlying exception”问题
MySQL默认的空闲等待时间是8个小时,一旦空闲超过8个小时,就会抛出“Communications link failure due to underlying exception”异常,修改/etc/my.cnf(windows下为my.ini),将超时时间设置为30天,在[mysqld]后面加入:wait_timeout=2592000,重启。...原创 2011-10-27 09:38:35 · 198 阅读 · 0 评论 -
mysql cluster
Mysql Cluster连接串 jdbc:mysql:loadbalance://192.168.56.10:3306,192.168.56.20:3306/person?roundRobinLoadBalance=true原创 2011-12-15 15:05:12 · 146 阅读 · 0 评论