Mailing List Archive



Back to the month index Back to the list index

Brian Candler (B.Candler@pobox.com)
Mon, 27 Jan 1997 15:16:12 +0000 (GMT)


From: Brian Candler <B.Candler@pobox.com>
Message-Id: <199701271516.PAA01424@gazebo.candler.co.uk>
Subject: Re: [mSQL] Question about TCP_PORT number...
Date: Mon, 27 Jan 1997 15:16:12 +0000 (GMT)

> Port number is set to 1113 for EXEC_ROOT in
> msql-2.0-B3/targets/(target OS)/common/site.h.
>
> However, Port number is set to 1114 in msql-2.0-B3/misc/msql.conf.
>
> I compiled in accordance with msql-2.0-B3/INSTALL, but I don't have
> any problem...
>
> My question is why this difference don't lead to any error or any fault...

Simple. The #defines for MSQL_PORT and MSQL_UNIX_ADDR in common/site.h are
hangovers from msql1. They are not used anywhere else in the code; they
should be deleted.

The change in port number is so you can have msql1 and msql2 running
together on the same machine. Also, it makes it less likely that an msql1
client will try to talk to an msql2 server, or vice versa.
--------------------------------------------------------------------------
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!