Re: specifying different port for db connections

From: Date: Thu, 07 Nov 2002 13:17:23 +0000
Subject: Re: specifying different port for db connections
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-123223@lists.php.net to get a copy of this message
Not a big mssql guy but if i remember correctly that should be set in your interfaces file...but a valid server name should be used and that is checked in the interfaces file... On Thu, 2002-11-07 at 20:12, heath boutwell wrote: > Attempting to access remote db (SQL Server) how do you specify the port? > > I've tried everything in the hostname paramater of mssql_connect but nothing > seems to work. ie none of the following: > > MSSQL_CONNECT("192.168.10.1,2461",$username,$password) or DIE("DATABASE FAILED > TO RESPOND."); > > or > > MSSQL_CONNECT("192.168.10.1:2461",$username,$password) or DIE("DATABASE FAILED > TO RESPOND."); > > or > > MSSQL_CONNECT("192.168.10.1;2461",$username,$password) or DIE("DATABASE FAILED > TO RESPOND."); > > > Thanks > > __________________________________________________ > Do you Yahoo!? > U2 on LAUNCH - Exclusive greatest hits videos > http://launch.yahoo.com/u2 > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php -- .: B i g D o g :.

« previous php.general (#123223) next »