centos 下安装mysql

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"

你可能感兴趣的:(centos 下安装mysql)