Error: ENOENT: no such file or directory, open ‘’
Emitted ‘error’ event on Interface instance at:
at ReadStream.onerror (node:readline:265:10)
at ReadStream.emit (node:events:402:35)
at emitErrorNT (node:internal/streams/destroy:157:8)
at emitErrorCloseNT (node:internal/streams/destroy:122:3)
at processTicksAndRejections (node:internal/process/task_queues:83:21) {
errno: -2,
code: ‘ENOENT’,
syscall: ‘open’,
path: ‘’
}
***在windos上是可以的。
上述问题是连接串格式不对造成的,
user: “SYSDBA”,
password: “SYSDBA”,
connectString: “localhost:5236”,
改成
connectString:“dm://SYSDBA:SYSDBA@LOCALHOST:5236?autoCommit=true&columnNameUpperCase=false”,
poolMax: 1000,
poolMin: 10,
poolTimeout: 60
报错
node:events:368
throw er; // Unhandled ‘error’ event
^
Error: ENOENT: no such file or directory, open ‘’
Emitted ‘error’ event on Interface instance at:
at ReadStream.onerror (node:readline:265:10)
at ReadStream.emit (node:events:402:35)
at emitErrorNT (node:internal/streams/destroy:157:8)
at emitErrorCloseNT (node:internal/streams/destroy:122:3)
at processTicksAndRejections (node:internal/process/task_queues:83:21) {
errno: -2,
code: ‘ENOENT’,
syscall: ‘open’,
path: ‘’
}
***在windos上是可以的。