note 14800 added to function.mysql-close.php
| From: | phil at phord dot com | Date: | Wed, 15 Aug 2001 12:32:25 +0000 |
| Subject: | note 14800 added to function.mysql-close.php | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-16748@lists.php.net to get a copy of this message | ||
In spite of the documentation, it appears to be important to close the database. On my installation
(RedHat 7.1, mysql 3.23, php 4.03pl1) when I didn't manually close the database after I
finished with it I wound up with tons of open connections (exceeding my max allowed). Maybe this is
because of lots of timing-out connections, but when I started closing the database after use, the
problem went away.
http://www.php.net/manual/en/function.mysql-close.php