note 54496 added to function.mysql-connect
| From: | emaheratnewbaydotcom at osu1 dot php dot net | Date: | Wed, 06 Jul 2005 08:17:59 +0000 |
| Subject: | note 54496 added to function.mysql-connect | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-91523@lists.php.net to get a copy of this message | ||
It appears that mysql_close() and the bool new_link parameter for mysql_connect() doesn't work
on windows. I was able to run 100 selects before the mysql_connect() ran out of resources (similar
to a note below).
Using mysql_close() and bool new_link worked on Linux (php 5.0.4 connecting to mysql 4.1.10-nt) but
NOT on windows (php 5.0.4 connecting to mysql 4.1.10-nt).
Probably doesn't matter to most developers, just caught me out at the testing stage.
----
Manual Page -- http://www.php.net/manual/en/function.mysql-connect.php
Edit -- http://master.php.net/manage/user-notes.php?action=edit+54496
Delete: added to the manual -- http://master.php.net/manage/user-notes.php?action=delete+54496&report=yes&reason=added+to+the+manual
Delete: bad code -- http://master.php.net/manage/user-notes.php?action=delete+54496&report=yes&reason=bad+code
Delete: spam -- http://master.php.net/manage/user-notes.php?action=delete+54496&report=yes&reason=spam
Delete: useless -- http://master.php.net/manage/user-notes.php?action=delete+54496&report=yes&reason=useless
Delete: non-english -- http://master.php.net/manage/user-notes.php?action=delete+54496&report=yes&reason=non-english
Delete: other reasons -- http://master.php.net/manage/user-notes.php?action=delete+54496&report=yes
Reject -- http://master.php.net/manage/user-notes.php?action=reject+54496&report=yes
Search -- http://master.php.net/manage/user-notes.php