mysql配置用户授权视图

2017年7月1日 0 条评论 10.67k 次阅读 4 人点赞

MySql配置用户授权视图

1.进入mysql 输入:mysql -u root -u
2.输入密码 回车
3.创建用户回车 :create user 'peis'@'%' identified by 'peis';
4.授权回车: grant SELECT on peis.zsplat_user_view to 'peis'@'%';
5.刷新回车: flush privileges;
6.查看权限:show grants for 'peis'@'%'

Dawn

这个人太懒什么东西都没留下

文章评论(0)