摘要:
package main import ( "fmt" ) func print(n int,x rune,y rune)(){ fmt.Printf("moving disk %d from pole %c to pole %c\n",n,x,y) } func move(n int,a rune,b rune,c rune)(){ if n==1{ ... 阅读全文
摘要:
MySQL Sniffer 是360开源的一个基于 MySQL 协议的抓包工具, 能实时抓取客户端端请求,并格式化输出操作语句,操作十分简单。对于问题的定位,操作的审核是个不错的利器。 Github地址:https://github.com/Qihoo360/mysql-sniffer 安装 # y 阅读全文
摘要:
MySQL slave错误日志中报“[ERROR] Error reading packet from server:Lost connection to MySQL server during query(server_errno=2013)”。 怀疑是网络闪断导致的主从连接中断,但是通过zabb 阅读全文