![](https://img-blog.csdnimg.cn/20201014180756928.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
bug
夜冥孤魂
爱家庭,爱老婆
展开
-
null, message from server: "Host 'PC-20130201IBXI' is blocked because of many connection errors; un
忽然一天,数据库连接抛了异常:null, message from server: "Host 'PC-20130201IBXI' is blocked because of many connection errors; unblock with 'mysqladmin flush-hosts'"。话说是同一IP短时间内连接数据库太多二致,记得以前也出现过这种错,解决办法记下(window原创 2016-12-24 11:50:45 · 391 阅读 · 0 评论 -
SSH框架中配置log4j的方法
SSH框架中配置log4j的方法/*2011年8月29日 09:52:54 by Rush*/SSH框架中使用log4j的方便之处1. 动态的改变记录级别和策略,即修改log4j.properties,不需要重启Web应用,这需要在web.xml中设置一下。2. 把log文件定在 /WEB-INF/logs/ 而不需要写绝对路径。3. 可以把log4j.pr转载 2017-01-10 15:14:29 · 283 阅读 · 0 评论