PS E:\Project\migration\config> node testConnection.js Error: NJS-112: internal error: read integer of length 64 when expecting integer of no more than length 4 at Object.throwErr (E:\Project\migration\node_modules\oracledb\lib\errors.js:588:10) at ReadPacket._readInteger (E:\Project\migration\node_modules\oracledb\lib\thin\protocol\buffer.js:100:14) at ReadPacket.readUB4 (E:\Project\migration\node_modules\oracledb\lib\thin\protocol\buffer.js:491:17) at ReadPacket._readBytesWithLength (E:\Project\migration\node_modules\oracledb\lib\thin\protocol\packet.js:160:36) at ReadPacket.readBytesWithLength (E:\Project\migration\node_modules\oracledb\lib\thin\protocol\buffer.js:364:17) at ReadPacket.readStr (E:\Project\migration\node_modules\oracledb\lib\thin\protocol\buffer.js:463:22) at AuthMessage.processReturnParameter (E:\Project\migration\node_modules\oracledb\lib\thin\protocol\messages\auth.js:308:21) at AuthMessage.processMessage (E:\Project\migration\node_modules\oracledb\lib\thin\protocol\messages\base.js:213:12) at AuthMessage.process (E:\Project\migration\node_modules\oracledb\lib\thin\protocol\messages\base.js:196:12) at AuthMessage.decode (E:\Project\migration\node_modules\oracledb\lib\thin\protocol\messages\base.js:187:10) { code: 'NJS-112' } PS E:\Project\migration\config>
时间: 2023-07-05 08:34:44 浏览: 158
根据你提供的信息,这是一个 Node.js 应用程序中的 Oracle 数据库连接问题。错误信息显示出现了一个内部错误,该错误可能与读取长度为 64 的整数有关。建议检查数据库连接字符串和 Oracle 客户端库的版本是否匹配,还可以尝试更新或重新安装 Oracle 客户端库。此外,还可以查看 Oracle 数据库是否已正确配置并正在运行。
阅读全文