摘要:
环境:linux,mysql5.5.21错误:Host is blocked because of many connection errors; unblock with 'mysqladmin flush-hosts'原因: 同一个ip在短时间内产生太多(超过mysql数据库max_connection_errors的最大值)中断的数据库连接而导致的阻塞;解决方法:1、提高允许的max_connection_errors数量(治标不治本): ① 进入Mysql数据库查看max_connection_errors:show variables like '%max_c 阅读全文
摘要:
Exception in thread "Thread-27" org.jboss.netty.channel.ChannelException: Failed to bind to: /192.168.1.149:7100 at org.jboss.netty.bootstrap.ServerBootstrap.bind(ServerBootstrap.java:272) at com.netty.receive.ReceiveGatewayServer.run(ReceiveGatewayServer.java:63) at java.lang.Thread.run(T 阅读全文
摘要:
<script>function c1(){ var d = document.getElementsByName("s")[0].value; var b = (new Date(d)).getTime(); document.getElementsByName("s")[0].value = b; }function c2(){ var d = document.getElementsByName("d")[0].value; var b = new Date(d); b.setTime(d); document.ge 阅读全文
摘要:
# Example MySQL config file for medium systems.## This is for a system with little memory (32M - 64M) where MySQL plays# an important part, or systems up to 128M where MySQL is used together with# other programs (such as a web server)## MySQL programs look for option files in a set of# locations whi 阅读全文
摘要:
转载地址:http://www.2cto.com/kf/201211/170227.html判断是pc还是移动设备true:pcfunction IsPC(){ var userAgentInfo = navigator.userAgent; var Agents = new Array("Android", "iPhone", "SymbianOS", "Windows Phone", "iPad", "iPod"); var flag = true; for (var v 阅读全文