Tatanka Posted December 12, 2005 Share Posted December 12, 2005 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..." After the database 'hangs' and I am unable to connect to it for at least 30 seconds... Any idea why the tampering makes my database go down for a few secs ? best regards! marten Quote Link to comment https://forums.phpfreaks.com/topic/3027-mysqli-problem-when-user-continously-hits-f5-button/ Share on other sites More sharing options...
fenway Posted December 24, 2005 Share Posted December 24, 2005 I think this has to do with a TCP issue related to running MySQL on a Windows box. Sorry I can't help with any other info. Quote Link to comment https://forums.phpfreaks.com/topic/3027-mysqli-problem-when-user-continously-hits-f5-button/#findComment-10371 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.