解决局域网访问MYSQL慢

打开my.ini
在最下面加入如下代码:
skip-name-resolve
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