對於performance_schema庫show events時報 1044
網友遇到這個問題:
對於performance_schema庫show events時報 1044
mysql> use performance_schema;
Reading table information for completion of table and column names
You can turn off this feature to get a quicker startup with -A
Database changed
mysql> show events;
ERROR 1044 (42000): Access denied for user 'root'@'localhost' to database 'performance_schema'
mysql> show grants for 'root'@'localhost';
+---------------------------------------------------------------------+
| Grants for root@localhost |
+---------------------------------------------------------------------+
| GRANT ALL PRIVILEGES ON *.* TO 'root'@'localhost' WITH GRANT OPTION |
| GRANT PROXY ON ''@'' TO 'root'@'localhost' WITH GRANT OPTION |
+---------------------------------------------------------------------+
2 rows in set (0.00 sec)
mysql> use test;
Reading table information for completion of table and column names
You can turn off this feature to get a quicker startup with -A
Database changed
mysql> show events;
Empty set (0.00 sec)
這個問題有點怪
原來是:
https://bugs.mysql.com/bug.php?id=32775
Bug #32775 problems with SHOW EVENTS and Information_Schema
轉載請註明源出處
對於performance_schema庫show events時報 1044
mysql> use performance_schema;
Reading table information for completion of table and column names
You can turn off this feature to get a quicker startup with -A
Database changed
mysql> show events;
ERROR 1044 (42000): Access denied for user 'root'@'localhost' to database 'performance_schema'
mysql> show grants for 'root'@'localhost';
+---------------------------------------------------------------------+
| Grants for root@localhost |
+---------------------------------------------------------------------+
| GRANT ALL PRIVILEGES ON *.* TO 'root'@'localhost' WITH GRANT OPTION |
| GRANT PROXY ON ''@'' TO 'root'@'localhost' WITH GRANT OPTION |
+---------------------------------------------------------------------+
2 rows in set (0.00 sec)
mysql> use test;
Reading table information for completion of table and column names
You can turn off this feature to get a quicker startup with -A
Database changed
mysql> show events;
Empty set (0.00 sec)
這個問題有點怪
原來是:
https://bugs.mysql.com/bug.php?id=32775
Bug #32775 problems with SHOW EVENTS and Information_Schema
轉載請註明源出處
來自 “ ITPUB部落格 ” ,連結:http://blog.itpub.net/25099483/viewspace-1650884/,如需轉載,請註明出處,否則將追究法律責任。
相關文章
- MySQL預設資料庫之performance_schema庫MySql資料庫ORM
- MySQL 5.7 performance_schema庫和sys庫常用SQLMySqlORM
- 首先將performance_schema這個資料庫下的需要ORM資料庫
- 關於SHOW_SPACE()工具的用法
- performance_schema詳解一ORM
- 關於SHOW_SPACE()工具的用法(轉)
- mysql5.5 performance_schema 初探MySqlORM
- laravel 資料庫遷移時報錯Laravel資料庫
- SQLServer對錶進行CDC捕捉時報錯SQLServer
- oracle eventsOracle
- MySQL 5.1 執行show databases沒有mysql庫MySqlDatabase
- Oracle資料庫的“健康指示器”——事件(events)Oracle資料庫事件
- MySQL5.6 PERFORMANCE_SCHEMA 說明MySqlORM
- 康孚備份資料庫時報錯資料庫
- JavaScript show()JavaScript
- jQuery show()jQuery
- MySQL:關於Wating for Slave workers to free pending events等待MySql
- PAT1044火星數字(java實現)Java
- show sga和show parameter sga的區別
- ORACLE EVENTS(轉)Oracle
- oracle set eventsOracle
- wait eventsAI
- EVENTS設定
- 資料庫物件事件與屬性統計 | performance_schema全方位介紹資料庫物件事件ORM
- mysql資料庫show的常用命令說明MySql資料庫
- show master logs 和 show master status 區別AST
- MySQL 5.5 SHOW PROFILE、SHOW PROFILES語句介紹MySql
- 對於實時大庫的切換方法
- JavaScript show() 方法JavaScript
- git show 命令Git
- mysql show命令MySql
- ALTER SESSION SET EVENTSSession
- dump oracle events(轉)Oracle
- Enqueue events part oneENQ
- Enqueue events part twoENQ
- 配置詳解 | performance_schema全方位介紹ORM
- 事件記錄 | performance_schema全方位介紹事件ORM
- 事件統計 | performance_schema全方位介紹事件ORM