刘满博客

linux系统mysql

grant 权限1,权限2,…权限n on 数据库名称.表名称 to 用户名@用户地址 identified by ‘密码’;

权限:select,insert,update,delete,create,drop,index,alter,grant,references,reload,shutdown,process,file

所有权限:all privileges或者all

所有数据库所有表:*.*

所有地址:’%’

grant all privileges on *.* to root@'%' identified by 'password'


已发布

分类

,

作者:

标签

评论

发表回复

您的电子邮箱地址不会被公开。 必填项已用*标注

此站点使用Akismet来减少垃圾评论。了解我们如何处理您的评论数据