通常,会发生以下错误。 这是由于MySQL资源监控器功能,“ max_questions”表示“用户在一小时内可以执行的查询数”。
MySQL错误–超出了“ max_questions”资源(当前值:1000)
在这里,我将演示如何在MySQL中更新或修改'max_questions'值。
1)登录MySQL控制台,我是root〜
mkyong@myserver:~# mysql -u root -p
Enter password:
Welcome to the MySQL monitor. Commands end with ; or \g.
Your MySQL connection id is 1640
Server version: 5.0.32-Debian_7etch10-log Debian etch distribution
Type 'help;' or '\h' for help. Type '\c' to clear the buffer.
mysql>
2)切换到mysql数据库。
mysql> use mysql
Reading table information for comple