MySQL Forums
Forum List  »  PHP

Mysqli problem when user continously hits F5 button
Posted by: Marten Van Keer
Date: December 13, 2005 02:48AM

Hello,

I have created a new database-driven website. I've installed php 5.1.1 and mysql 5.0
I'm working with the Mysqli connector.

Everything works fine. Except when a user starts tampering the website by continuously hitting the F5 button.

On the intro-page of the website, a lot of queries are being fired against the database. When the user hits F5 quickly for, let's say, 50 times the database times out and I get the ugly error:

"Warning: mysqli::mysqli() [function.mysqli]: (HY000/2003): Can't connect to MySQL server on 'localhost' (10048) in..."

The database 'hangs' and I am unable to connect to it for a random amount of seconds... I even can't connect to the mysqladministrator tool...

Any idea why the tampering makes my database go down for a few secs ?

best regards!
marten

Options: ReplyQuote


Subject
Written By
Posted
Mysqli problem when user continously hits F5 button
December 13, 2005 02:48AM


Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.