分类: LINUX
2007-12-23 20:07:38
Privilege |
Meaning |
ALL [PRIVILEGES] |
Sets all simple privileges except GRANT OPTION |
ALTER |
Allows use of ALTER TABLE |
CREATE |
Allows use of CREATE TABLE |
CREATE TEMPORARY TABLES |
Allows use of CREATE TEMPORARY TABLE |
DELETE |
Allows use of DELETE |
DROP |
Allows use of DROP TABLE |
EXECUTE |
Not implemented |
FILE |
Allows use of SELECT ... INTO OUTFILE and LOAD DATA INFILE |
INDEX |
Allows use of CREATE INDEX and DROP INDEX |
INSERT |
Allows use of INSERT |
LOCK TABLES |
Allows use of LOCK TABLES on tables for which you have the SELECT privilege |
PROCESS |
Allows use of SHOW FULL PROCESSLIST |
REFERENCES |
Not implemented |
RELOAD |
Allows use of FLUSH |
REPLICATION CLIENT |
Allows the user to ask where slave or master servers are |
REPLICATION SLAVE |
Needed for replication slaves (to read binary log events from the master) |
SELECT |
Allows use of SELECT |
SHOW DATABASES |
SHOW DATABASES shows all databases |
SHUTDOWN |
Allows use of mysqladmin shutdown |
SUPER |
Allows use of CHANGE MASTER, KILL, PURGE MASTER LOGS, and SET GLOBAL statements, the mysqladmin debug command; allows you to connect (once) even if max_connections is reached |
UPDATE |
Allows use of UPDATE |
USAGE |
Synonym for “no privileges” |
GRANT OPTION |
Allows privileges to be granted |