我正在尝试列出information_schema
. TABLES
像这样:
SELECT * FROM information_schema.`TABLES` LIMIT 10
但它给了我一个错误:
ERROR 2013 (HY000): Lost connection to MySQL server during query
然后我认为REPAIR TABLE TABLES
应该解决它,但它给了我:
ERROR 2006 (HY000): MySQL server has gone away
No connection. Trying to reconnect...
Connection id: 396
Current database: information_schema
ERROR 1044 (42000): Access denied for user 'root'@'localhost' to database 'information_schema'
之前有人遇到过这个问题,或者知道我能做些什么来解决这个问题吗?