oracle / node-oracledb

Oracle Database driver for Node.js maintained by Oracle Corp.
http://oracle.github.io/node-oracledb/
Other
2.25k stars 1.07k forks source link

How can I send my wallet to TypeOrm.io? #1442

Closed EdissonG closed 2 years ago

EdissonG commented 2 years ago

My TypeOrm connection code is as follows:

import oracledb from "oracledb";
​import​ ​{​ createConnection  ​}​ ​from​ ​"typeorm"​; 

oracledb.initOracleClient({ libDir: 'D:\\MaterialSkywork\\Oracle\\instantclient_21_3' });

createConnection({
    type: "oracle",
    username: "admin",
    password: "password",
    database: "DB_high",
    ​   ​synchronize​: ​true​, 
}).then(connection => {
    console.log(connection)
}).catch(error => console.log(error));

​export​ ​default​ createConnection;

But since I can't use the wallet I have connection problems and I get a TNS ORA-12533 error back.

image

stale[bot] commented 2 years ago

This issue has been automatically marked as inactive because it has not been updated recently. It will be closed if no further activity occurs. Thank you for your contributions.

stale[bot] commented 2 years ago

This issue has been automatically closed because it has not been updated for a month.

cjbj commented 2 years ago

@EdissonG The recut 19.13 Instant Client for Linux x86-64 supports the 1-way TLS (aka wallet-less) feature of Oracle Cloud DBs. So if you can move to Linux (or wait for Windows Instant Client to catch up), then you won't need a wallet.