为提高效率,提问时请提供以下信息,问题描述清晰可优先响应。
【DM版本】:
【操作系统】:rocky linux 9.3
【CPU】:
【问题描述】*:
我需要怎样可以连接上,下面是
ODBC日志完整记录
[ODBC][1623][1742285145.329998][__handles.c][460]
Exit:[SQL_SUCCESS]
Environment = 0x88ecf0
[ODBC][1623][1742285145.330024][SQLAllocHandle.c][375]
Entry:
Handle Type = 2
Input Handle = 0x88ecf0
[ODBC][1623][1742285145.330034][SQLAllocHandle.c][493]
Exit:[SQL_SUCCESS]
Output Handle = 0x88f5f0
[ODBC][1623][1742285145.330043][SQLConnect.c][3700]
Entry:
Connection = 0x88f5f0
Server Name = [dm8][length = 3 (SQL_NTS)]
User Name = [NULL]
Authentication = [NULL]
UNICODE Using encoding ASCII 'ISO8859-1' and UNICODE 'UCS-2LE'
[ODBC][1623][1742285145.330984][SQLConnect.c][1353]Error: IM004
[ODBC][1623][1742285145.331008][SQLError.c][434]
Entry:
Connection = 0x88f5f0
SQLState = 0x7ffcec49ebd6
Native = 0x7ffcec49ebd0
Message Text = 0x7ffcec49ebe0
Buffer Length = 500
Text Len Ptr = 0x7ffcec49ebce
[ODBC][1623][1742285145.331020][SQLError.c][471]
Exit:[SQL_SUCCESS]
SQLState = IM004
Native = 0x7ffcec49ebd0 -> 0
Message Text = [[unixODBC][Driver Manager]Driver's SQLAllocHandle on SQL_HANDLE_HENV failed]
[ODBC][1623][1742285145.331056][SQLError.c][434]
Entry:
Connection = 0x88f5f0
SQLState = 0x7ffcec49ebd6
Native = 0x7ffcec49ebd0
Message Text = 0x7ffcec49ebe0
Buffer Length = 500
Text Len Ptr = 0x7ffcec49ebce
[ODBC][1623][1742285145.331064][SQLError.c][471]
Exit:[SQL_NO_DATA]
[ODBC][1623][1742285145.331074][SQLError.c][514]
Entry:
Environment = 0x88ecf0
SQLState = 0x7ffcec49ebd6
Native = 0x7ffcec49ebd0
Message Text = 0x7ffcec49ebe0
Buffer Length = 500
Text Len Ptr = 0x7ffcec49ebce
[ODBC][1623][1742285145.331081][SQLError.c][551]
Exit:[SQL_NO_DATA]
[ODBC][1623][1742285145.331095][SQLFreeHandle.c][284]
Entry:
Handle Type = 2
Input Handle = 0x88f5f0
[ODBC][1623][1742285145.331104][SQLFreeHandle.c][333]
Exit:[SQL_SUCCESS]
[ODBC][1623][1742285145.331113][SQLFreeHandle.c][219]
Entry:
Handle Type = 1
Input Handle = 0x88ecf0
你有配置dm8信息吗?/etc/odbc.ini和/etc/odbcinst.ini都配置了吗