View Full Version : checking number of queries?

01-24-2007, 08:42 PM
Is there any way to check to see where a user is in there threshold of max queries per hour?

01-25-2007, 04:56 AM
Per hour? What do you mean by "queries"? Do you mean, they can post a certain amount of comments by hour? (1 comment is 1 query.) Also, I'm not exactly sure how to do it, but I do know how to allow people depending upon what time it is. (I'm sure I can find out though.)

01-25-2007, 01:08 PM
In mysql you can set a variable to limit the number of connections per hour, queries per hour etc.. that a person is allowed to make against a given database.
Is there a way to check to see at any given point where that user is in relation to this limit?