mysql 开户远程用户
grant all PRIVILEGES on *.* to xxx@'%' identified by 'xxxx';flush privileges;
注:xxx为用户名,xxxx 该用户密码,如果该用户不存在用创建新用户;
对某个IP某张表如下:
grant all PRIVILEGES on hello.* to ted@'123.123.123.123' identified by '123456';
发布时间: 2012-08-25 10:06:20 作者: rapoo
mysql 开户远程用户
grant all PRIVILEGES on *.* to xxx@'%' identified by 'xxxx';flush privileges;