MySQL reload許可權
MySQL reload許可權:
reload 是 administrative 級的許可權,即 server administration;這類許可權包括:
CREATE USER, PROCESS, RELOAD, REPLICATION CLIENT, REPLICATION SLAVE, SHOW DATABASES, SHUTDOWN, SUPER
這類許可權的授權不是針對某個資料庫的,因此須使用on *.* 來進行:
C:\Users\Igor>mysql -ufiletest -p
Enter password: ******
Welcome to the MySQL monitor. Commands end with ; or \g.
Your MySQL connection id is 7
Server version: 5.7.11-log MySQL Community Server (GPL)
Copyright (c) 2000, 2016, Oracle and/or its affiliates. All rights reserved.
Oracle is a registered trademark of Oracle Corporation and/or its
affiliates. Other names may be trademarks of their respective
owners.
Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.
mysql> use test;
Database changed
mysql> flush table c;
ERROR 1227 (42000): Access denied; you need (at least one of) the RELOAD privile
ge(s) for this operation
##root登陸授權:
mysql> grant reload on *.* to 'filetest'@'localhost';
Query OK, 0 rows affected (0.06 sec)
##再次flush table成功
C:\Users\Igor>mysql -ufiletest -p
Enter password: ******
Welcome to the MySQL monitor. Commands end with ; or \g.
Your MySQL connection id is 9
Server version: 5.7.11-log MySQL Community Server (GPL)
Copyright (c) 2000, 2016, Oracle and/or its affiliates. All rights reserved.
Oracle is a registered trademark of Oracle Corporation and/or its
affiliates. Other names may be trademarks of their respective
owners.
Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.
mysql> use test;
Database changed
mysql> flush table c;
Query OK, 0 rows affected (0.00 sec)
reload 是 administrative 級的許可權,即 server administration;這類許可權包括:
CREATE USER, PROCESS, RELOAD, REPLICATION CLIENT, REPLICATION SLAVE, SHOW DATABASES, SHUTDOWN, SUPER
這類許可權的授權不是針對某個資料庫的,因此須使用on *.* 來進行:
C:\Users\Igor>mysql -ufiletest -p
Enter password: ******
Welcome to the MySQL monitor. Commands end with ; or \g.
Your MySQL connection id is 7
Server version: 5.7.11-log MySQL Community Server (GPL)
Copyright (c) 2000, 2016, Oracle and/or its affiliates. All rights reserved.
Oracle is a registered trademark of Oracle Corporation and/or its
affiliates. Other names may be trademarks of their respective
owners.
Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.
mysql> use test;
Database changed
mysql> flush table c;
ERROR 1227 (42000): Access denied; you need (at least one of) the RELOAD privile
ge(s) for this operation
##root登陸授權:
mysql> grant reload on *.* to 'filetest'@'localhost';
Query OK, 0 rows affected (0.06 sec)
##再次flush table成功
C:\Users\Igor>mysql -ufiletest -p
Enter password: ******
Welcome to the MySQL monitor. Commands end with ; or \g.
Your MySQL connection id is 9
Server version: 5.7.11-log MySQL Community Server (GPL)
Copyright (c) 2000, 2016, Oracle and/or its affiliates. All rights reserved.
Oracle is a registered trademark of Oracle Corporation and/or its
affiliates. Other names may be trademarks of their respective
owners.
Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.
mysql> use test;
Database changed
mysql> flush table c;
Query OK, 0 rows affected (0.00 sec)
來自 “ ITPUB部落格 ” ,連結:http://blog.itpub.net/27126919/viewspace-2125204/,如需轉載,請註明出處,否則將追究法律責任。
相關文章
- mysql許可權MySql
- MySQL 許可權MySql
- Mysql——許可權管理MySql
- Mysql 許可權管理MySql
- MySQL許可權管理MySql
- mysql許可權參考MySql
- MySQL許可權問題MySql
- MySQL許可權系統MySql
- [玄月]MySQL許可權MySql
- MySQL 許可權詳解MySql
- MySQL許可權管理實戰MySql
- mysql連線無許可權MySql
- MySQL許可權表介紹MySql
- mysql 許可權控制筆記MySql筆記
- mysql之許可權驗證MySql
- 【轉】關於MySQL許可權MySql
- mysql使用者許可權MySql
- 關於mysql許可權管理MySql
- mysql 管理:mysql 執行許可權(轉)MySql
- Oracle的物件許可權、角色許可權、系統許可權Oracle物件
- 許可權之選單許可權
- mysql使用者許可權管理MySql
- canal mysql select許可權粒度MySql
- mysql使用者和許可權MySql
- MySQL許可權系統簡介MySql
- MySQL中如何得到許可權資訊MySql
- MySQL許可權體系--PPT分享~MySql
- MySQL 5.7許可權的介紹MySql
- Mysql存取許可權系統(轉)MySql
- MySql給賬戶所有許可權MySql
- 【MySql】mysql的許可權體系介紹MySql
- 【MySql】mysql 的許可權體系介紹MySql
- 如何用 Vue 實現前端許可權控制(路由許可權 + 檢視許可權 + 請求許可權)Vue前端路由
- linux 檔案許可權 s 許可權和 t 許可權解析Linux
- MySQL資料庫許可權體系入門(4)---管理全域性許可權MySql資料庫
- MYSQL學習筆記13: DCL許可權控制(使用者許可權操作)MySql筆記
- 許可權系統:一文搞懂功能許可權、資料許可權
- MySQL 使用者及許可權管理?MySql