Mysql必读mysql权限管理教程详解
《Mysql必读mysql权限管理教程详解》要点: 本节内容: root,不是任何情况都要用root. all [privileges] 设置除grant option之外的所有简单权限 alter 允许使用alter table alter routine 更改或取消已存储的子程序 create 允许使用create table create routine 创建已存储的子程序 create temporary tables 允许使用create temporary table create user 允许使用create user,drop user,rename user和revoke all privileges. create view 允许使用create view delete 允许使用delete drop 允许使用drop table execute 允许用户运行已存储的子程序 file 允许使用select...into outfile和load data infile index 允许使用create index和drop index insert 允许使用insert lock tables 允许对您拥有select权限的表使用lock tables process 允许使用show full processlist references 未被实施 reload 允许使用flush replication client 允许用户询问从属服务器或主服务器的地址 replication slave 用于复制型从属服务器(从主服务器中读取二进制日志事件) select 允许使用select show databases show databases显示所有数据库 show view 允许使用show create view shutdown 允许使用mysqladmin shutdown super 允许使用change master,kill,purge master logs和set global语句,mysqladmin debug命令;允许您连接(一次),即使已达到max_connections. update 允许使用update usage “无权限”的同义词 grant option 允许授予权限 ? 第一种状况解决: 第二种状况解决: 第三种状况解决: (这里localhost说明只能用于本地连接)?? (编辑:站长网) 【声明】本站内容均来自网络,其相关言论仅代表作者个人观点,不代表本站立场。若无意侵犯到您的权利,请及时与联系站长删除相关内容! |