Skip to Content.
Sympa Menu

freetds - Re: [freetds] How to make a connection without freetds.conf

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] How to make a connection without freetds.conf
  • Date: Fri, 13 Jul 2007 16:08:52 -0400

Alexandre Gazola wrote:
> I checked the DNS-less section of the user guide on the site, and
> changed my connection string to the following:
>
> "DRIVER=FreeTDS;SERVER=forte;UID=teste;PWD=teste;DATABASE=GAZOLA_UNBA_R
> ;TDS_Version=7.0;Port=1695;"
>
> but that DIDN'T WORK.


1. Make sure you're using SQLDriverConnect.
2. Try export TDSDUMP=stdout and see if it's connecting to your host
correctly. The log will show your server hostname and port (and probably
the TDS version). If those are right, it's an authentication issue.

--jkl




Archive powered by MHonArc 2.6.24.

Top of Page