首页 诗词 字典 板报 句子 名言 友答 励志 学校 网站地图
当前位置: 首页 > 教程频道 > 开发语言 > 编程 >

Last packet sent to the server was 2 ms ago 解决方法

2012-09-11 
Last packet sent to the server was 2 ms ago 解决办法Last packet sent to the server was?2 ms ago 解

Last packet sent to the server was 2 ms ago 解决办法

Last packet sent to the server was?2 ms ago 解决办法 Attempted reconnect 3 times. Giving up.解决办法

?

?

首先一定要确定url和用户名密码是否配置正确,看看连接字串,端口是否配置正确

?

然后再用网上说的URl上缀上autoReconnect=true

?

jdbc:mysql://localhost:3306/oa?autoReconnect=true

?

?

编辑mysql目录里的:my.cnf(windows下为my.ini),里加上

?

wait_timeout=31536000


interactive_timeout=31536000

?

热点排行