Skip to content

Commit

Permalink
Add odbc files for Linux
Browse files Browse the repository at this point in the history
  • Loading branch information
xhochy committed Aug 28, 2024
1 parent b522f6b commit 1f698fd
Show file tree
Hide file tree
Showing 2 changed files with 40 additions and 0 deletions.
27 changes: 27 additions & 0 deletions odbc_test_linux/odbc.ini
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
[MySQL]
Driver = MySQL Driver
SERVER = 127.0.0.1
UID = mysqluser
PASSWORD = password
DATABASE = test_db
PORT = 3306
INITSTMT = set session time_zone ='+00:00';

[PostgreSQL]
Driver = PostgreSQL Driver
Database = test_db
Servername = localhost
UserName = postgres
Password = password
Port = 5432
Protocol = 7.4
UseServerSidePrepare = 1
BoolsAsChar = 0
ConnSettings = set time zone 'UTC';
UseDeclareFetch = 1

[MSSQL]
Driver = ODBC Driver 17 for SQL Server
Server = localhost
Port = 1433
Database = test_db
13 changes: 13 additions & 0 deletions odbc_test_linux/odbcinst.ini
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
[MySQL Driver]
Driver = /opt/mysql-connector-odbc-5.1.13-linux-glibc2.5-x86-64bit/lib/libmyodbc5.so
UsageCount = 1
Threading = 2

[PostgreSQL Driver]
Driver = CONDA_PREFIX/lib/psqlodbcw.so
FileUsage = 1
Threading = 2

[ODBC Driver 17 for SQL Server]
Description = Microsoft ODBC Driver 17 for SQL Server
Driver = /opt/microsoft/msodbcsql17/lib64/libmsodbcsql-17.10.so.6.1

0 comments on commit 1f698fd

Please sign in to comment.