Re: specifying different port for db connections

From: Date: Thu, 07 Nov 2002 16:08:05 +0000
Subject: Re: specifying different port for db connections
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-123271@lists.php.net to get a copy of this message
Which database are you using? MSSQL is what you said in your first email... Here is the information from php: Description int mssql_connect ( [string servername [, string username [, string password]]]) Returns: A positive MS SQL link identifier on success, or FALSE on error. mssql_connect() establishes a connection to a MS SQL server. The servername argument has to be a valid servername that is defined in the 'interfaces' file. <-- this is what i am referring too In case a second call is made to mssql_connect() with the same arguments, no new link will be established, but instead, the link identifier of the already opened link will be returned. On Thu, 2002-11-07 at 23:02, heath boutwell wrote: > > --- ".: B i g D o g :." <bigdog@venticon.com> wrote: > > Actually the remote file is used if you are trying to connect to a > > remote system. Sybase uses remote files and that is how it works...i > > know oracle does a similar way of connecting... > > > > IMHO, i would look into the interface file and change it there... > > There is no interface file on the system utilizing php. > > Using MySQL, you can set the mysql.default_port configuration option to specify > the port you wish mysql_connect to use. > > There should be a way to do this in the via the host paramater in the > connection string. > > Thanks > > > > __________________________________________________ > Do you Yahoo!? > U2 on LAUNCH - Exclusive greatest hits videos > http://launch.yahoo.com/u2 -- .: B i g D o g :.

« previous php.general (#123271) next »