note 26416 added to function.mysql-pconnect
| From: | fate_amendable_to_changeNOSPAM at yahoo dot com | Date: | Wed, 30 Oct 2002 09:58:01 +0000 |
| Subject: | note 26416 added to function.mysql-pconnect | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-38739@lists.php.net to get a copy of this message | ||
To tell mysql_pconnect to connect to mysql on a port other than the default use a colon - eg
mysql_pconnect("127.0.0.1:4444", "user", "pass")
would connect to localhost on port 4444
(useful for ssh tunneling etc)
--
http://www.php.net/manual/en/function.mysql-pconnect.php
http://master.php.net/manage/user-notes.php?action=edit+26416
http://master.php.net/manage/user-notes.php?action=delete+26416
http://master.php.net/manage/user-notes.php?action=reject+26416