MySQL中的操作权限

MySQL中的操作权限

view source
print ?
01 ALTER
02 Allows use of ALTER TABLE.
03
04 ALTER ROUTINE
05 Alters or drops stored routines.
06
07 CREATE
08 Allows use of CREATE TABLE.
09
10 CREATE ROUTINE
11 Creates stored routines.
12
13 CREATE TEMPORARY TABLE
14 Allows use of CREATE TEMPORARY TABLE.
15
16 CREATE USER
17 Allows use of CREATE USER, DROP USER, RENAME USER, and REVOKE ALL PRIVILEGES.
18
19 CREATE VIEW
20 Allows use of CREATE VIEW.
21
22 DELETE
23 Allows use of DELETE.
24
25 DROP
26 Allows use of DROP TABLE.
27
28 EXECUTE
29 Allows the user to run stored routines.
30
31 FILE
32 Allows use of SELECT… INTO OUTFILE and LOAD DATA INFILE.
33
34 INDEX
35 Allows use of CREATE INDEX and DROP INDEX.
36
37 INSERT
38 Allows use of INSERT.
39
40 LOCK TABLES
41 Allows use of LOCK TABLES on tables forwhichthe user also has SELECT privileges.
42
43 PROCESS
44 Allows use of SHOW FULL PROCESSLIST.
45
46 RELOAD
47 Allows use of FLUSH.
48
49 REPLICATION
50 Allows the user to ask where slave or master
51
52 CLIENT
53 servers are.
54
55 REPLICATION SLAVE
56 Needed forreplication slaves.
57
58 SELECT
59 Allows use of SELECT.
60
61 SHOW DATABASES
62 Allows use of SHOW DATABASES.
63
64 SHOW VIEW
65 Allows use of SHOW CREATE VIEW.
66
67 SHUTDOWN
68 Allows use of mysqladmin shutdown.
69
70 SUPER
71 Allows use of CHANGE MASTER, KILL, PURGE MASTER LOGS, and SET GLOBAL SQL statements. Allows mysqladmin debug command. Allows one extra connection to be made ifmaximum connections are reached.
72
73 UPDATE
74 Allows use of UPDATE.
75
76 USAGE
77 Allows connection without any specific privileges.


你可能感兴趣的:(mysql)