时间:2021-07-01 10:21:17 帮助过:18人阅读
create user 'username'@'host' IDENTIFIED BY 'PASSWORD'
给指定用户授权
grant all on DBName.* to 'username'@'host'
刷新权限
flush privileges;
查看用户权限
show grants for 'user'@'host'
换行查询信息,主要针对多行
select * from user \G
< 上一篇
centos7安装mysql5.5的方法_MySQL
下一篇 >
贤者时间太久了么?--MySQL继续玩_MySQL
记住我的登录 忘记密码?
登录
我已阅读用户协议及版权声明
注册