shell>sql/Index.html'>mysqladmin--socket=/path/to/socketversion
sql/Index.html'>mysqld
sql/Index.html'>mysql_zap
如果你得到错误CantconnecttoMySQLserveronsome_hostname,你可以尝试下列步骤找出问题是什么:
CantconnecttoMySQLserveronsome_hostname
telnetyour-host-nametcp-ip-port-number
telnet:Unabletoconnecttoremotehost:Connectionrefused
sql/Index.html'>mysqladminvariables
port
--skip-networking
Host...isblocked
如果你得到象这样的一个错误:
Hosthostnameisblockedbecauseofmanyconnectionerrors.Unblockwithsql/Index.html'>mysqladminflush-hosts
这意味着,sql/Index.html'>mysqld已经得到了大量(max_connect_errors)的主机hostname的在中途被中断了的连接请求。在max_connect_errors次失败请求后,sql/Index.html'>mysqld认定出错了(象来字一个黑客的攻击),并且阻止该站点进一步的连接,直到某人执行命令sql/Index.html'>mysqladminflush-hosts。
max_connect_errors
hostname
sql/Index.html'>mysqladminflush-hosts
缺省地,sql/Index.html'>mysqld在10个连接错误后阻塞一台主机。你可以通过象这样启动服务器很容易地调整它:
shell>safe_sql/Index.html'>mysqld-Omax_connect_errors=10000&
(编辑:aniston)
·2024年12月目录 ·2024年11月目录 ·2024年10月目录 ·2024年9月目录 ·2024年8月目录 ·2024年7月目录 ·2024年6月目录 ·2024年5月目录 ·2024年4月目录 ·2024年3月目录 ·2024年2月目录 ·2024年1月目录 ·2023年12月目录 ·2023年11月目录