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
版权声明:本文标题:node.js - How would I run node-oracledb in Thick Mode in a production environment? - Stack Overflow 内容由网友自发贡献,该文观点仅代表作者本人, 转载请联系作者并注明出处:http://www.betaflare.com/web/1744028553a2578483.html, 本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容,一经查实,本站将立刻删除。
发表评论