Skip to Content.
Sympa Menu

freetds - Re: [freetds] Problem connecting to SQL server on linux

freetds AT lists.ibiblio.org

Subject: FreeTDS Development Group

List archive

Chronological Thread  
  • From: Jeff Dahl <jddahl AT micron.com>
  • To: FreeTDS Development Group <freetds AT lists.ibiblio.org>
  • Subject: Re: [freetds] Problem connecting to SQL server on linux
  • Date: Mon, 25 Sep 2006 11:18:57 -0600

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 (i.e."DRIVER=FreeTDS;Address=my.servers.ip.address;UID=myLogin;PWD=myPassword;DATABASE=myDatabaseName;port=myDatabasePort;" )?




Archive powered by MHonArc 2.6.24.

Top of Page