From: http://blog.sina.com.cn/s/blog_716844910100welz.html 在linux下使用mysql客户端连接远程mysql服务器报错: [root@Server huage]# mysql -h 88.88.88.88 -P 3306 -u root -p Enter password: ERROR 1130 (HY000): Host 'my_wan_ip' is not allowed to connect to this MySQL serv…
1.在运行中输入CMD,确定,进入文本方式. 2.输入mysql -h localhost -u root -p 回车,使用ROOT用户登录. 3.输入use mysql; 显示Database changed,选择MYSQL系统库.4.假定我们现在增加一个'goldeye2000'用户,密码为'1234567',让其能够从外部访问MYSQL.输入 grant all on * to 'goldeye2000' identified by '1234567'; FLUSH PRIVILEGES…