本文介紹RDS MySQL高權限賬號和普通賬號對應的權限。
賬號權限列表
賬號類型 | 授權類型 | 權限 | ||||
高權限賬號 | - | ALTER,ALTER ROUTINE,CREATE,CREATE VIEW,CREATE ROUTINE,CREATE USER,CREATE TEMPORARY TABLES,DELETE,DROP,EVENT,EXECUTE,INDEX,INSERT,LOCK TABLES,PROCESS,RELOAD,REFERENCES,REPLICATION SLAVE,REPLICATION CLIENT,SELECT,SHOW VIEW,TRIGGER,UPDATE | ||||
普通賬號 | 只讀 | LOCK TABLES,PROCESS,REPLICATION SLAVE,REPLICATION CLIENT,SELECT,SHOW VIEW | ||||
讀寫 | ALTER,ALTER ROUTINE,CREATE,CREATE TEMPORARY TABLES,CREATE VIEW,CREATE ROUTINE,DELETE,DROP,EVENT,EXECUTE,INSERT,INDEX,LOCK TABLES,PROCESS,REFERENCES,REPLICATION SLAVE,REPLICATION CLIENT,SELECT,SHOW VIEW,TRIGGER,UPDATE | |||||
僅DDL | ALTER,ALTER ROUTINE,CREATE,CREATE VIEW,CREATE TEMPORARY TABLES,CREATE ROUTINE,DROP,INDEX,LOCK TABLES,PROCESS,REPLICATION SLAVE,REPLICATION CLIENT,SHOW VIEW | |||||
僅DML | CREATE TEMPORARY TABLES,DELETE,EVENT,EXECUTE,INSERT,LOCK TABLES,PROCESS,REPLICATION SLAVE,REPLICATION CLIENT,SELECT,SHOW VIEW,TRIGGER,UPDATE | |||||