[freetds] SQL Anywhere 11
serversage at gmail.com
Wed Nov 26 04:52:21 EST 2008
Thanks for the quick reply Daniel. As we don't use the freetds.conf file
for our connections, and we use DNS-less connections, I'm trying to
construct the connection string to include the dataserver name as well as
it's IP in it, but can't seem to dig up the information. I'm looking at:
And it shows an example with a dataserver entry in freetds.conf, and one
using a freetds.conf-less connection that has a server entry. Would I
simply add them both and come out with something like:
Where 10.10.10.10 is the IP of the server, DataServerName would be the
dataserver name we get from the vendor, username is the username they give
us, password is the password they give us, dbname is the name of the
database we are connecting to? I would just try this, but we have to
contact the vendor tomorrow in order to get the dataserver name, and I want
to be armed with as much information as I can before that phone call.
Thanks again for the assistance!
On Wed, Nov 26, 2008 at 1:21 AM, Daniel Fazekas <fdsubs at t-online.hu> wrote:
> On Nov 26, 2008, at 10:13, Brian Johnson wrote:
> > two that upgraded to Sybase SQL Anywhere 11. That being said, the
> > two sites that upgraded are both having the same issue. When we try
> > to connect, we are getting a "Login Incorrect".
> There's one well-known gotcha when it comes to SQL Anywhere:
> "In general, the dataserver name is arbitrary and local; it's used
> only by your client programs to tell FreeTDS which server to connect
> to. You can choose any name you like.
> Sybase SQL Anywhere (a/k/a Sybase ASA), however, is fussy. You must
> use the database's name as your dataserver name. Otherwise, the server
> will refuse your connection."
> Quoted from the bottom of this page:
> If that doesn't solve it, you'll have to enable logging:
> > I've tried every TDS_Version setting,
> Don't try anything but 5.0 for Sybase.
> FreeTDS mailing list
> FreeTDS at lists.ibiblio.org
More information about the FreeTDS