admin管理员组

文章数量:1355710

Issue:

I am trying to connect to an Oracle DB using the node-oracledb package, but the DB server runs on v11, which does not support “thin mode” connections.

In order to connect, I have to switch to “thick mode”, which involves downloading the Oracle Instant Client binary and pathing to it when initializing the connection.

This isn’t an issue for me locally, but I’m not sure what the best practices are for getting this deployed to a production machine that I don’t have full access to.

Possible Solution?

My first thought was to try to include the binaries in the project, path it internally, and deploy it, but this feels like potentially bad practice.

Request:

Is there a way I could instruct the machine to download and path appropriately during the build process?

There isn’t much code to share beyond the basic node-oracledb setup, but I can add it if need be.

Any insight or pointers would be appreciated.

Thank you.

本文标签: nodejsHow would I run nodeoracledb in Thick Mode in a production environmentStack Overflow