Is there a way to set the timeout for this command to 3 seconds instead of 60 seconds WITHOUT changing PhP ini?
If you are using a PHP version more recent than 4.3.2 (and if you aren't, you are way behind on the updates curve), you can set it with:
ini_set('mysql.connect_timeout', 3);
NogDog;10880568 wrote:If you are using a PHP version more recent than 4.3.2 (and if you aren't, you are way behind on the updates curve), you can set it with: ini_set('mysql.connect_timeout', 3);
Thanks.