主题 : odbc日志设置
级别: 2级
UID: 174 打招呼
积分:300 加为好友
威望: 60 精华: 0
主题:60 回复:5
注册时间:2017-04-13
在线时长:0
1#   发表于:2019-12-27 08:57:00  IP:118.64.*.*
[root@upright91 ~]# odbcinst -j
unixODBC 2.3.7
DRIVERS............: /etc/odbcinst.ini
SYSTEM DATA SOURCES: /etc/odbc.ini
FILE DATA SOURCES..: /etc/ODBCDataSources
USER DATA SOURCES..: /root/.odbc.ini
SQLULEN Size.......: 8
SQLLEN Size........: 8
SQLSETPOSIROW Size.: 8


[root@upright91 ~]# cat /etc/odbcinst.ini
[ODBC]
Trace=YES
TraceFile=/root/C/odbc.log


[PostgreSQL]
Description=ODBC for PostgreSQL
Driver=/usr/lib/psqlodbcw.so
Setup=/usr/lib/libodbcpsqlS.so
Driver64=/usr/lib64/psqlodbcw.so
Setup64=/usr/lib64/libodbcpsqlS.so
FileUsage=1

[MySQL]
Description=ODBC for MySQL
Driver=/usr/lib/libmyodbc5.so
Setup=/usr/lib/libodbcmyS.so
Driver64=/usr/lib64/libmyodbc5.so
Setup64=/usr/lib64/libodbcmyS.so
FileUsage=1

[ODBC Driver 17 for SQL Server]
Description=Microsoft ODBC Driver 17 for SQL Server
Driver=/opt/microsoft/msodbcsql17/lib64/libmsodbcsql-17.3.so.1.1
UsageCount=1

[kdb]
Description=KDB ODBC Driver
Driver=/home/kdb/kdb11/client/lib/libkdodbc.so
FileUsage=1
Driver Logging=7
#ForceTrace=YES
Pooling=No
1 共1页