summaryrefslogtreecommitdiff
path: root/libraries/sqliteodbc/README.SLACKWARE
diff options
context:
space:
mode:
Diffstat (limited to 'libraries/sqliteodbc/README.SLACKWARE')
-rw-r--r--libraries/sqliteodbc/README.SLACKWARE46
1 files changed, 46 insertions, 0 deletions
diff --git a/libraries/sqliteodbc/README.SLACKWARE b/libraries/sqliteodbc/README.SLACKWARE
new file mode 100644
index 0000000000..c7e3755681
--- /dev/null
+++ b/libraries/sqliteodbc/README.SLACKWARE
@@ -0,0 +1,46 @@
+To setup a SQLite data source using libiodbc do the following steps:
+
+1. Add the driver to /etc/odbcinst.ini:
+
+ [ODBC Drivers]
+ SQLite3=Installed
+
+ [SQLite3]
+ Description=SQLite3 ODBC Driver
+ Driver=/usr/lib/libsqlite3odbc.so
+ Setup=/usr/lib/libsqlite3odbc.so
+ Threading=2
+
+2. Add a DSN to your private ~/.odbc.ini or the system /etc/odbc.ini
+ file:
+
+ [ODBC Data Sources]
+ mysqlitedb=SQLite3
+
+ [mysqlitedb]
+ Driver=/usr/lib/libsqliteodbc.so
+ Description=My SQLite test database
+ Database=/home/johndoe/databases/mytest.db
+ # optional lock timeout in milliseconds
+ Timeout=2000
+
+
+Alternatively, to setup a SQLite data source using unixODBC:
+
+1. Add the driver to /etc/odbcinst.ini:
+
+ [SQLite3]
+ Description=SQLite3 ODBC Driver
+ Driver=/usr/lib/libsqlite3odbc.so
+ Setup=/usr/lib/libsqlite3odbc.so
+ Threading=2
+
+2. Add a DSN to your private ~/.odbc.ini or the system /etc/odbc.ini
+ file:
+
+ [mysqlitedb]
+ Description=My SQLite test database
+ Driver=SQLite3
+ Database=/home/johndoe/databases/mytest.db
+ # optional lock timeout in milliseconds
+ Timeout=2000