openbsd-ports/databases/iodbc/patches/patch-etc_odbc_ini_sample
sthen b13f5eb09d update iodbc to 3.52.7, maintainer timeout
- while there, tweak the sample installed ini files to give
examples that can work with ODBC drivers available in ports

- take maintainer
2011-06-16 01:29:57 +00:00

40 lines
930 B
Plaintext

$OpenBSD: patch-etc_odbc_ini_sample,v 1.1 2011/06/16 01:29:57 sthen Exp $
--- etc/odbc.ini.sample.orig Mon Jan 18 23:37:33 1999
+++ etc/odbc.ini.sample Thu Jun 16 02:23:15 2011
@@ -1,22 +1,20 @@
;
; odbc.ini
;
+[ODBC]
+Trace = 0
+TraceAutoStop = 0
+TraceFile = sql.log
+
[ODBC Data Sources]
-OpenLink = OpenLink (MT)
+ExampleTDS = example MS server
-[OpenLink]
-Driver = /home/openlink/lib/oplodbc.so.1
-Description = Sample OpenLink MT DSN
-Host = localhost
-ServerType = Oracle 8
-FetchBufferSize = 99
-UserName =
-Password =
-Database =
-ServerOptions =
-ConnectOptions =
-Options =
-ReadOnly = no
+[ExampleTDS]
+Description = test ODBC for MSSQL
+Driver = FreeTDS
+Servername = <name of freetds.conf section>
+TDS_Version = 7.0
+language = us_english
[Default]
-Driver = /home/openlink/lib/oplodbc.so.1
+Driver = FreeTDS