Mailing List Archive



Back to the month index Back to the list index

Andreas Koenig (k@anna.in-berlin.de)
Tue, 24 Sep 1996 19:46:35 +0200


Date: 	Tue, 24 Sep 1996 19:46:35 +0200
Message-Id: <199609241746.TAA06007@anna.in-berlin.de>
From: Andreas Koenig <k@anna.in-berlin.de>
Subject: [mSQL] Re: Connecting to other ports

>>>>> Kerry Garrison <garrison@delta.net> writes:

kerry> Is there a way in MsqlPerl to specify which port address to connect to on a
kerry> remote server?

>From the manpage:

          Connecting to a different port

          The mSQL API allows you to interface to a different port
          than the default that is compiled into your copy. To use
          this feature you have to set the environment variable
          MSQL_TCP_PORT. You can do so at any time in your program
          with the command

              $ENV{'MSQL_TCP_PORT'} = 4333;

          Any subsequent connect() will establish a connection to the
          specified port.

          For connect()s to the UNIX socket of the local machine use
          MSQL_UNIX_PORT instead.

andreas
--------------------------------------------------------------------------
To remove yourself from the Mini SQL mailing list send a message containing
"unsubscribe" to "unsubscribe" to msql-list-request@bunyip.com. Send a message containing
"info msql-list" to majordomo@bunyip.com for info on monthly archives of
the list. For more help, mail owner-msql-list@bunyip.com NOT the msql-list!

--------------------------------------------------------------------------
To remove yourself from the Mini SQL mailing list send a message containing
"unsubscribe" to "unsubscribe" to msql-list-request@bunyip.com. Send a message containing
"info msql-list" to majordomo@bunyip.com for info on monthly archives of
the list. For more help, mail owner-msql-list@bunyip.com NOT the msql-list!