I have a php script on another web host which uses mysql_connect() to connect to my database hosted here. My server here uses a static IP rather than a domain, I use the static IP as the host for the connect call.
The problem is, the connect call always takes around 20 seconds to connect, which is quite a long delay for the script I'm running. I've tried it from another web server with the same result, exactly 20 seconds to connect.
Could it be a delay resolving the IP? Any ideas how to solve this?


LinkBack URL
About LinkBacks



Reply With Quote


Bookmarks