Mysql connection takes too long
Posted: Wed Dec 09, 2009 12:56 pm
Hi.
I have a php file which makes a connection to mysql DB.
The connection somehow takes couple of seconds. which makes my bowser return an "500 HTTP Server Error".
The code works fine when i run it through an php editor/Debugger.
Is there any chance to improve my Mysql Connection? or on the other hand makes the browser to wait until the code finishes?
thanks,
Ori.
I have a php file which makes a connection to mysql DB.
The connection somehow takes couple of seconds. which makes my bowser return an "500 HTTP Server Error".
The code works fine when i run it through an php editor/Debugger.
Is there any chance to improve my Mysql Connection? or on the other hand makes the browser to wait until the code finishes?
thanks,
Ori.