Click here to Skip to main content
15,892,005 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Previously the server was connected but after making the change in settings I am getting the error as - User 'root' has exceeded'max_questions' resource(current value:100).
How should I change the limit again from Mysql workbentch?
Posted

try:

SQL
update user set max_questions = 10000 where user = 'root'


if you put 0, it means unlimited.
 
Share this answer
 
Comments
Aparna24 19-Mar-15 5:49am    
after executing the same again I got the same error:
Error Code: 1226. User 'root' has exceeded the 'max_questions' resource (current value: 100)
/\jmot 19-Mar-15 6:01am    
restart you mysql server.
Aparna24 19-Mar-15 6:20am    
again got the same error.
Executing the query "SET @max_questions=0" worked for me.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900