http://www.cnblogs.com/easyzikai/archive/2012/06/17/2552357.html
给192.168.1.100 权限访问
GRANT ALL PRIVILEGES ON *.* TO 'root'@'192.168.1.100' IDENTIFIED BY 'root用户的密码' WITH GRANT OPTION;
给任意IP 访问GRANT ALL PRIVILEGES ON *.* TO 'root'@'%' IDENTIFIED BY 'root用户的密码' WITH GRANT OPTION;
flush privileges;