[prev in list] [next in list] [prev in thread] [next in thread] 

List:       msql-mysql-modules
Subject:    Re: Connecting to another port
From:       Jochen Wiedmann <joe () ispsoft ! de>
Date:       1998-10-22 1:56:53
[Download RAW message or body]

Hi, Bob,


> > I am trying to use DBI to make a connection to an alternate mSQL port.
> >
> > This is my connect string:
> >
> > $dbh=DBI->connect("DBI:mSQL:test:localhost:1115');
> >
> > When I run this it still connects to port 1114.

mSQL 1 supported an environment variable MSQL_TCP_PORT for choosing the
port. It seems, mSQL 2 no longer does. It only offers setting the port
in msql.conf.

I have prepared a version 1.2006 of the Msql-Mysql-modules that I am
uploading to CPAN right now. It offers a new attribute

	$dbh = DBI->connect("DBI:mSQL:test:msql_configfile=msql_test.conf");


Bye,

Jochen



-- 
Jochen Wiedmann						joe@ispsoft.de
On the 8th day god created email. And got noted		+49 7123 14887
the world was good. Then the devil added HTML mail...


-----------------------------------------------------------
Send a mail to mdomo@tcx.se with
unsubscribe msql-mysql-modules your@subscription.address
in the body of the message to unsubscribe from this list.

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic