当前位置: 代码迷 >> Ruby/Rails >> ERROR 1226 (42000):User 'root' has exceeded the 'max_questions' resource (current value: 二)
  详细解决方案

ERROR 1226 (42000):User 'root' has exceeded the 'max_questions' resource (current value: 二)

热度:301   发布时间:2016-04-29 02:14:10.0
ERROR 1226 (42000):User 'root' has exceeded the 'max_questions' resource (current value: 2)


         mysql报错:

        可能是你一次连接的时间太长,或者是每次连接的查询和插入数据过多,你可以修改max_questions参数的值
    
        use mysql;

    update user set max_questions=0;

flush privileges;
  相关解决方案