RE: [PHP-WIN] php/mySQL ... using different port
| From: | Rich Gray | Date: | Wed, 09 Oct 2002 15:13:03 +0000 |
| Subject: | RE: [PHP-WIN] php/mySQL ... using different port | ||
| References: | 1 | Groups: | php.windows |
| Request: | Send a blank email to php-windows+get-16296@lists.php.net to get a copy of this message | ||
Try ...
mysql_connect('server:9999','user','password');
Where '9999' is the alternate port number.
HTH
Rich
-----Original Message-----
From: Wolfgang Schneider [mailto:schneider@bibelcenter.de]
Sent: 09 October 2002 15:34
To: php-windows@lists.php.net
Subject: [PHP-WIN] php/mySQL ... using different port
Hello,
trying to connect to a mySQL database that runs on a 2nd mySQL server
and not the standard one, the 2nd mySQL has been assigned a different
port number ....
How do I change the connect to mySQL lines so the php file is trying
to open a connection to the mySQL server on the alternate port number
?
God bless you with His grace and peace
Wolfgang
Looking for Biblical information? COME AND SEE!
http://classes.bibelcenter.de ... online classes
http://www.bibelcenter.de ... biblical studies
www.christianbook.com/Christian/Books/home?event=AFF&p=1009812 ... Christian
bookstore
http://www.christian-ebooks.de ... Christian eBooks
--
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php