This page contains a list of user privileges that may be granted or revoked. Use the MySQL statement, GRANT to grant a user these privileges, and the REVOKE statement to revoke them.
hits past month: 28 ; last updated: may 4, 2009 - 2:34am ; parent: GRANTGrants all of the basic privileges. Does not include GRANT OPTION.
Allows use of the ALTER TABLE statement.
Allows the user account to alter or drop stored routines. This includes the ALTER FUNCTION and ALTER PROCEDURE statements, as well as the DROP FUNCTION and DROP PROCEDURE statements.
Grants CREATE TABLE statement privileges.
Allows the user account to create stored routines. This includes the CREATE FUNCTION and CREATE PROCEDURE statements. The user has ALTER ROUTINE privileges to any routine he creates.
Allows the CREATE TEMPORARY TABLES statement to be used.
Allows the user account to execute several user account management statements: CREATE USER, RENAME USER, REVOKE ALL PRIVILEGES, and the DROP USER statements.
Allows the CREATE VIEW statement. This was first enabled in version 5.0.1 of MySQL.
Allows the DELETE statement to be used.
Allows the user to execute DROP TABLE and TRUNCATE statements.
Allows the user account to create events for the event scheduler. As of version 5.1.12 of MySQL, this privilege allows the use of the CREATE EVENT, ALTER EVENT, and the DROP EVENT statements.
Allows the execution of stored procedures. This is available as of version 5 of MySQL.
Allows the use of SELECT . . . INTO OUTFILE and LOAD DATA INFILE statements to export from and import to a file.
Allows the use of the GRANT statement to grant privileges to users. This option is specified with the WITH clause of the GRANT statement.
Allows the use of CREATE INDEX and DROP INDEX statements.
Allows the use of INSERT statements.
Allows the use of LOCK TABLES statements for tables for which the user has SELECT privileges.
Allows the use of SHOW FULL PROCESSLIST statements.
This is not used. It's for future releases.
Allows the use of FLUSH and RESET statements.
Allows the user to query master and slave servers for status information.
Required for replication slave servers. Allows binary log events to be read from the master server.
Allows the use of the SELECT statement.
Permits the use of the SHOW DATABASES statement for all databases, not just the ones for which the user has privileges.
Allows the use of the SHOW CREATE VIEW statement. This is for version 5.0.1 and above of MySQL.
Allows the use of the shutdown option with the
Allows use of CHANGE MASTER, KILL, PURGE MASTER LOGS, and SET GLOBAL statements, and the debug option with the command-line utility
Allows the user account to create and drop triggers: the CREATE TRIGGER and the DROP TRIGGER statements.
Allows the use of the UPDATE statement.
Used to create a user without privileges, or to modify resource limits on an existing user without affecting the existing privileges.