Re: DB and connection timeout

From: Date: Mon, 02 Aug 2004 19:40:48 +0000
Subject: Re: DB and connection timeout
References: 1 2  Groups: php.pear.general 
Request: Send a blank email to pear-general+get-13941@lists.php.net to get a copy of this message
* Norbert Mocsnik <pear-general@mocsnik.hu>: > Matthew Weier O'Phinney wrote: >> The PHP core mysql functions have an INI setting for connect_timeout. >> Does PEAR::DB honor these? What error is reported if a timeout occurs? > > You probably mean: > mysql.connect_timeout integer > Connect timeout in seconds. On Linux this timeout is also used for > waiting for the first answer from the server. > (php manual) That's exactly what I mean. > As PHP's mysql_* functions themselves don't allow you to pass any > timeout value and PEAR DB is a wrapper for these functions, I think > PEAR DB has nothing to do with that timeout value. It works the same > way as the functions called directly. That's what I was looking for. Thanks for the confirmation. -- Matthew Weier O'Phinney | WEBSITES: Webmaster and IT Specialist | http://www.garden.org National Gardening Association | http://www.kidsgardening.com 802-863-5251 x156 | http://nationalgardenmonth.org mailto:matthew@garden.org | http://vermontbotanical.org

« previous php.pear.general (#13941) next »