Re: specifying different port for db connections
| From: | heath boutwell | Date: | Thu, 07 Nov 2002 23:02:09 +0000 |
| Subject: | Re: specifying different port for db connections | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-123267@lists.php.net to get a copy of this message | ||
--- ".: 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