2012年9月18日
摘要: 这两天写了一个 Console 程序,批量处理数据库,本来运行得好好的,突然就不行了,异常提示是:The timeout period elapsed prior to completion of the operation or the server is not responding.查看了好多技术文档,先是发现net_read_timeout = 30 net_write_timeout = 60试着将这两项改大(在my.ini 的mysqld小节),结果没有效果最后发现在 .net 的 connectstring 中有 comandtimeout 设置,如:string conn =. 阅读全文
posted @ 2012-09-18 22:08 精思入神 阅读(638) 评论(0) 推荐(0) 编辑