打开my.ini
在最下面加入如下代码:
skip-name-resolve
skip-grant-tables
skip-grant-tables
例如:
[mysqld]
basedir=D:/APMServ5.2.0/MySQL5.0
datadir=D:/APMServ5.2.0/MySQL5.0/data
port=3306
interactive_timeout=240
wait_timeout=240
skip-name-resolve
skip-grant-tables
basedir=D:/APMServ5.2.0/MySQL5.0
datadir=D:/APMServ5.2.0/MySQL5.0/data
port=3306
interactive_timeout=240
wait_timeout=240
skip-name-resolve
skip-grant-tables
文章来源: http://www.booby.cn/tech/data/mysql/articles/2008bfZ579.htm