Eduardo Fuerte
asked on
Could you point how to configure MySQL to workaround the 'max_connections_per_hour' error?
Hi Experts
Could you point how to configure MySQL to workaround the 'max_connections_per_hour' error?
Thanks in advance!
Could you point how to configure MySQL to workaround the 'max_connections_per_hour'
mysqli::real_connect(): (42000/1226): user 'root' has exceeded the 'max_connections_per_hour' resource (current value: 50)
Thanks in advance!
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
This command runs
Is it sufficient to my purpose?
What do you think abaout?
GRANT USAGE ON database_name.*
TO 'root'@'localhost'
WITH MAX_QUERIES_PER_HOUR 1000
MAX_CONNECTIONS_PER_HOUR 100;
Is it sufficient to my purpose?
What do you think abaout?
ASKER
The link where I obtained the command:
GRANT - Time and Number of Connection Limits
GRANT - Time and Number of Connection Limits
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Hi lenamtl
Thank you for the confirmation.
The MySQL version is 5.6 - so the command I used is Ok.
Thank you for the confirmation.
The MySQL version is 5.6 - so the command I used is Ok.
ASKER
Thanks for help!
Djeez youre welcome. I did not get any notification for this thread until points were given. Strange.
Anyway good there are more experts that know mysql.
Cheers
Anyway good there are more experts that know mysql.
Cheers
ASKER
Unfortunatelly I get this error going this way: