mysql报错: 可能是你一次连接的时间太长,或者是每次连接的查询和插入数据过多,你可以修改max_questions参数的值 use mysql; update user set max_questions=0; flush privileges;