RE: [PHP] mysql_pconnect
| From: | Don Read | Date: | Wed, 25 Jul 2001 18:01:21 +0000 |
| Subject: | RE: [PHP] mysql_pconnect | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-59587@lists.php.net to get a copy of this message | ||
On 25-Jul-2001 Dan Goodliffe wrote:
> Just a question out of pure curiosity...
>
> If an SQL link is opened using, mysql_pconnect when does it actually close?
>
When its 'sleep' time exceeds 'wait_timeout' defined in the server
(or possibly never on a working site).
$ mysqladmin var | grep timeout
Regards,
--
Don Read dread@texas.net
-- It's always darkest before the dawn. So if you are going to
steal the neighbor's newspaper, that's the time to do it.