码迷,mamicode.com
首页 > 数据库 > 详细

MySQL几条赋权语句

时间:2015-11-19 16:55:27      阅读:242      评论:0      收藏:0      [点我收藏+]

标签:mysql 赋权

grant all PRIVILEGES on *.* to cheyooh_user@‘111.111.111.101‘ identified by ‘cheyooh_user‘;

grant all PRIVILEGES on cheyooh_user.* to cheyooh_user@‘111.111.111.100‘ identified by ‘cheyooh_user‘;

GRANT Select ON *.* TO reader@‘218.17.202.202‘  IDENTIFIED BY "password112";

grant all PRIVILEGES on *.* to kevin@‘218.17.202.202‘ IDENTIFIED BY ‘88888888‘;

grant select,reload,replication slave,replication client on *.* to nagios@‘127.0.0.1‘ identified  by "123456";

flush privileges;


grant all PRIVILEGES on cheyoh_ad.* to jerry@‘%‘ identified by ‘66666666‘;


MySQL几条赋权语句

标签:mysql 赋权

原文地址:http://devin223.blog.51cto.com/10447310/1714672

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!