Home | 简体中文 | 繁体中文 | 杂文 | Search | ITEYE 博客 | OSChina 博客 | Facebook | Linkedin | 作品与服务 | Email

34.3. 查看错误代码

		
mysql> \! perror 6
OS error code   6:  No such device or address
		
		

34.3.1. ERROR 1153 (08S01) at line 3168: Got a packet bigger than 'max_allowed_packet' bytes

max_allowed_packet=500M
			

34.3.2. ERROR 1129 (00000): Host 'XXXXXX' is blocked because of many connection errors; unblock with 'mysqladmin flush-hosts'

连接在中途被中断了的连接请求。在 max_connect_errors次失败请求后,mysql阻止该主机进一步的连接,直到管理员执行命令 mysqladmin flush-hosts。

			
mysql> flush hosts;
			
			
set global max_connect_errors=1000;
			
max_connect_errors=10000
			
comments powered by Disqus