mysql許可權參考
mysql日常管理和應用工作中,大家經常會涉及到授權問題,下面,我們就列舉下許可權相關的參考。
1、管理許可權(Administrative Privileges)
Privilege Name Operation Enabled by Privilege
CREATE USER Use high-level account-management statements
FILE Read and write files on the server host
GRANT OPTION Grant the account’s privileges to other accounts
PROCESS View information about the threads executing within the server
RELOAD Reload the grant tables or flush the logs or caches
REPLICATION CLIENT Ask about master and slave server locations
REPLICATION SLAVE Act as a replication slave server
SHOW DATABASES See all database names with SHOW DATABASES
SHUTDOWN Shut down the server
SUPER Kill threads and perform other supervisory operations
2、物件許可權(Object Privileges)
Privilege Name Operation Enabled by Privilege
ALTER Alter tables and indexes
ALTER ROUTINE Alter or drop stored functions and procedures
CREATE Create databases and tables
CREATE ROUTINE Create stored functions and procedures
CREATE TEMPORARY TABLES Create temporary tables using the TEMPORARY keyword
CREATE VIEW Create views
DELETE Delete rows from tables
DROP Remove databases, tables, and other objects
EVENT Create, drop, or alter events for the event scheduler
EXECUTE Execute stored functions and procedures
INDEX Create or drop indexes
INSERT Insert new rows into tables
LOCK TABLES Explicitly lock tables with LOCK TABLES statements
REFERENCES Unused (reserved for future use)
SELECT Retrieve rows from tables
SHOW VIEW See view definitions with SHOW CREATE VIEW
TRIGGER Create or drop triggers
UPDATE Modify table rows
3、其他許可權(Miscellaneous Privileges)
Privilege Name Operation Enabled by Privilege
ALL [PRIVILEGES] All operations (except GRANT)
USAGE A special “no privileges” privilege
4、許可權級別說明符(Privilege-Level Specifiers)
Privilege Specifier Level at Which Privileges Apply
ON *.* Global privileges:all databases, all objects in databases
ON * Global privileges if no default database has been selected; database
privileges for the default database otherwise
ON db_name.* Database privileges: all objects in the named database
ON db_name.tbl_name Table privileges: all columns in the named table
ON tbl_name Table privileges: all columns in the named table in the default database
ON
db_name.routine_name Privileges for the named routine in the named database
來自 “ ITPUB部落格 ” ,連結:http://blog.itpub.net/8484829/viewspace-2674230/,如需轉載,請註明出處,否則將追究法律責任。
相關文章
- mysql許可權MySql
- MySQL許可權管理MySql
- MySQL 許可權詳解MySql
- MySQL許可權問題MySql
- 關於mysql許可權管理MySql
- MySQL許可權管理實戰MySql
- canal mysql select許可權粒度MySql
- mysql連線無許可權MySql
- MySql給賬戶所有許可權MySql
- mysql使用者許可權管理MySql
- 許可權之選單許可權
- linux 檔案許可權 s 許可權和 t 許可權解析Linux
- MYSQL學習筆記13: DCL許可權控制(使用者許可權操作)MySql筆記
- 如何用 Vue 實現前端許可權控制(路由許可權 + 檢視許可權 + 請求許可權)Vue前端路由
- MySQL使用者及許可權管理MySql
- Mysql資料庫許可權問題MySql資料庫
- MySql查詢使用者許可權MySql
- 選單許可權表sqlite和mysqlSQLiteMySql
- MySQL 使用者及許可權管理?MySql
- [MySQL光速入門]031 許可權管理MySql
- MySQL5.7&8.0許可權-角色管理MySql
- MySQL之許可權管理和備份MySql
- 許可權系統:一文搞懂功能許可權、資料許可權
- MySQL如何查詢all有哪些許可權?MySql
- mysql 8.0.21使用者及許可權操作MySql
- 入門MySQL——使用者與許可權MySql
- MySQL入門--使用者與許可權MySql
- Linux特殊許可權之suid、sgid、sbit許可權LinuxUI
- MySQL資料庫Root許可權MOF方法提權研究MySql資料庫
- 授權|取消授權MYSQL資料庫使用者許可權MySql資料庫
- 許可權控制
- Linux許可權Linux
- android動態許可權到自定義許可權框架Android框架
- 選單許可權和按鈕許可權設定
- Linux的檔案存取許可權和0644許可權Linux
- Android6.0------許可權申請管理(單個許可權和多個許可權申請)Android
- 【自然框架】許可權的視訊演示(二):許可權到欄位、許可權到記錄框架
- MySQL使用者許可權控制一例MySql