问题描述
我正在安装 opentext 16.2.8 的全新副本,当我尝试创建新数据库时,它一直失败并出现以下错误。我已经安装了 sql Server 2016 标准版
错误:无法连接。 ----> 错误堆栈 ----> 1) E675217410:ODBC 报告错误。:[Microsoft][ODBC sql Server 驱动程序][dbnETLIB]无效连接。 ----> 2) E675217410:ODBC 报告错误。:[Microsoft][ODBC sql Server 驱动程序][dbnETLIB]无效连接。 [Microsoft][ODBC sql Server 驱动程序][dbnETLIB]Connectionopen (ParseConnectParams())。 ----> 3) E675086340:无法连接。
日志
01/28/2021 17:42:18 INFO [66024053273] 0000000168: ****** CAPIAllocConnect called ...
01/28/2021 17:42:18 INFO [66024053380] 0000000169: KConnect::Connect(...) .. open the connection.
01/28/2021 17:42:18 INFO [66024053671] 0000000170: KsqlODBC::SubclassConnect BCPEnabled() = TRUE
01/28/2021 17:42:36 INFO [66042485428] 0000000171: KsqlODBC::SubclassConnect() DSN (connection string): DRIVER={sql Server};SERVER=DESKTOP-8G0H7M6;UID=sa;DATABASE=master;
01/28/2021 17:42:36 ERROR [66042485572] 0000000172: ODBC diagnostic error: 1 ODBC error code: 0 ODBC state: HYT00 ODBC error: [Microsoft][ODBC sql Server Driver]Login timeout expired
01/28/2021 17:42:36 ERROR [66042485650] 0000000173: Ksql::Connect('DESKTOP-8G0H7M6','master','sa','*','','API100') --> 'Could not connect.',[sec: 18 msec: 431]
01/28/2021 17:42:36 INFO [66042485692] 0000000174: Ksql::Connect .. ConnectionType = ODBC
01/28/2021 17:42:36 INFO [66042485720] 0000000175: Ksql::Connect .. DatabaseType = DB_UNKNowN
01/28/2021 17:42:36 INFO [66042485760] 0000000176: Ksql::Connect .. MaxLength = 32767
01/28/2021 17:42:36 INFO [66042485784] 0000000177: Ksql::Connect .. MaxLongLength = 32767
01/28/2021 17:42:36 INFO [66042485820] 0000000178: Ksql::Connect .. SubQueryBlobs = TRUE
01/28/2021 17:42:36 ERROR [66042485856] 0000000179: KConnect::Connect(...) --> 'Could not connect.'
解决方法
安装 latest ODBC drivers 解决了该问题。正如 AlwaysLearning 在评论中提到的