1, 安装mysql 参见http://www.cnblogs.com/xiaoluo501395377/archive/2013/04/07/3003278.html
2, 添加用户 grant select,insert,update,delete on *.* to test1@“%” Identified by “abc”;
3, 修改访问控制 update mysql.user set host ="%" where host="dev"
1, 安装mysql 参见http://www.cnblogs.com/xiaoluo501395377/archive/2013/04/07/3003278.html
2, 添加用户 grant select,insert,update,delete on *.* to test1@“%” Identified by “abc”;
3, 修改访问控制 update mysql.user set host ="%" where host="dev"
转载于:https://my.oschina.net/u/614223/blog/282329