Skip to Content.
Sympa Menu

freetds - [freetds] Registry file for win32 odbc driver

freetds AT lists.ibiblio.org

Subject: FreeTDS Development Group

List archive

Chronological Thread  
  • From: Frediano Ziglio <freddyz77 AT tin.it>
  • To: FreeTDS <freetds AT lists.ibiblio.org>
  • Subject: [freetds] Registry file for win32 odbc driver
  • Date: 06 Feb 2003 14:32:46 +0100

After some works (my windows test machine wasn't so near...) i wrote a
small registry file to add FreeTDS driver.
There is not configuration so you have to configure DSN by hand or use
DSNless connections (i always used DSNless connections)

This part is for configure a DSN

[HKEY_LOCAL_MACHINE\SOFTWARE\ODBC\ODBC.INI\ODBC Data Sources]
"test"="FreeTDS"

[HKEY_LOCAL_MACHINE\SOFTWARE\ODBC\ODBC.INI\test]
"Driver"="C:\\FreeTDS.dll"
"Server"="myserver"
"Database"="tempdb"
"Description"="test DSN"
"Port"="1234"
"TDS_Ver"="5.0"

This for configure driver

[HKEY_LOCAL_MACHINE\SOFTWARE\ODBC\ODBCINST.INI\FreeTDS]
"APILevel"="2"
"ConnectFunctions"="YYY"
"CPTimeout"="60"
"Driver"="c:\\FreeTDS.dll"
"DriverODBCVer"="02.50"
"FileUsage"="0"
"SQLLevel"="1"
"UsageCount"=dword:00000001

[HKEY_LOCAL_MACHINE\SOFTWARE\ODBC\ODBCINST.INI\ODBC Drivers]
"FreeTDS"="Installed"

(some values are copied directly from SQL Server driver...)

Some values needs adjustement (like driver path!)

freddy77

REGEDIT4

[HKEY_LOCAL_MACHINE\SOFTWARE\ODBC\ODBC.INI]

[HKEY_LOCAL_MACHINE\SOFTWARE\ODBC\ODBC.INI\ODBC Data Sources]
"test"="FreeTDS"

[HKEY_LOCAL_MACHINE\SOFTWARE\ODBC\ODBC.INI\test]
"Driver"="C:\\FreeTDS.dll"
"Server"="myserver"
"Database"="tempdb"
"Description"="test DSN"
"Port"="1234"
"TDS_Ver"="5.0"

[HKEY_LOCAL_MACHINE\SOFTWARE\ODBC\ODBCINST.INI\FreeTDS]
"APILevel"="2"
"ConnectFunctions"="YYY"
"CPTimeout"="60"
"Driver"="c:\\FreeTDS.dll"
"DriverODBCVer"="02.50"
"FileUsage"="0"
"SQLLevel"="1"
"UsageCount"=dword:00000001

[HKEY_LOCAL_MACHINE\SOFTWARE\ODBC\ODBCINST.INI\ODBC Drivers]
"FreeTDS"="Installed"



Archive powered by MHonArc 2.6.24.

Top of Page