Skip to Content.
Sympa Menu

freetds - Re: [freetds] Different Sybase DB servers with same dataserver name

freetds AT lists.ibiblio.org

Subject: FreeTDS Development Group

List archive

Chronological Thread  
  • From: "James K. Lowden" <jklowden AT freetds.org>
  • To: FreeTDS Development Group <freetds AT lists.ibiblio.org>
  • Subject: Re: [freetds] Different Sybase DB servers with same dataserver name
  • Date: Tue, 31 Mar 2009 10:56:02 -0400

foo bar wrote:
> * my applications needs to access both databases but cannot beacuse both
> have the same dataserver
>
>
> freetds.conf
>
> [dbA]
> host = foo
> port = 43443
> tds version = 5.0
>
> ;[dbA]
> ; host = bar
> ; port = 43443
> ; tds version = 5.0
>
>
>... I want to be able to connect to both databases at the same time.

The dataserver name is your local choice. It is the name you assign to
the combined properties of the server: host, port, and TDS version.

To connect to a server, you need a dataserver name. To connect to two
servers, you need two dataserver names.

HTH.

--jkl




Archive powered by MHonArc 2.6.24.

Top of Page