diff options
author | Jason Graham <jgraha8@gmail.com> | 2018-07-29 18:52:39 +0100 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2018-08-04 08:40:02 +0700 |
commit | 43e15eb98432ce4d63d66db3667bdaaff5bc6bdf (patch) | |
tree | 4826c48feeef381168b723d99715122ca06ee2fb /libraries/sqliteodbc/README.SLACKWARE | |
parent | 7ce5ee0a8f6070680b7300c2c4ed9b18f05b9d00 (diff) |
libraries/sqliteodbc: Added (SQLite ODBC Driver).
Signed-off-by: David Spencer <idlemoor@slackbuilds.org>
Diffstat (limited to 'libraries/sqliteodbc/README.SLACKWARE')
-rw-r--r-- | libraries/sqliteodbc/README.SLACKWARE | 46 |
1 files changed, 46 insertions, 0 deletions
diff --git a/libraries/sqliteodbc/README.SLACKWARE b/libraries/sqliteodbc/README.SLACKWARE new file mode 100644 index 0000000000000..c7e3755681316 --- /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 |