[freetds] Problem connecting to SQL server on linux
largowww at gmail.com
Mon Sep 25 15:32:03 EDT 2006
Of course I did. I'm not that new with this stuff ;-) It's just that I'm
to working with mySQL databases and this is the first time I need to connect
to an SQL server using odbc. I'm guessing that it has something to do with
the setup of my odbc driver.
Isn't there a way to get more information back then just 'SQL_ERROR'?
2006/9/25, Jeff Dahl <jddahl at micron.com>:
> Frederik Teerlinck wrote:
> > ret = SQLDriverConnect(connection, NULL, (SQLCHAR *)
> > "DRIVER=FreeTDS;Address=<IPaddress of the SQL
> > server>;UID=<login>;PWD=<pwd>;DATABASE=<DBname>;port=<port>;", SQL_NTS,
> > outConnectionString, 1024, &len, SQL_DRIVER_NOPROMPT);
> > ....
> Did you replace <IPaddress of the SQL server>, <login>, <pwd>, <DBname>,
> and <port> with the correct values
> FreeTDS mailing list
> FreeTDS at lists.ibiblio.org
More information about the FreeTDS