File tree Expand file tree Collapse file tree 1 file changed +8
-5
lines changed
Expand file tree Collapse file tree 1 file changed +8
-5
lines changed Original file line number Diff line number Diff line change @@ -35,11 +35,14 @@ process.env.ORA_SDTZ = 'UTC';
3535const oracledb = require ( 'oracledb' ) ;
3636const dbConfig = require ( './dbconfig.js' ) ;
3737
38- // On Windows and macOS, you can specify the directory containing your Oracle
39- // Client Libraries. If this is not done, then a standard search heuristic is
40- // used, see the node-oracledb documentation.
41- // oracledb.initOracleClient({ libDir: 'C:\\instantclient_19_3' }); // Windows
42- // oracledb.initOracleClient({ libDir: '/Users/your_username/instantclient_19_3' }); // macOS
38+ // On Windows and macOS, you can specify the directory containing the Oracle
39+ // Client Libraries at runtime, or before Node.js starts. On other platforms
40+ // the system library search path must always be set before Node.js is started.
41+ // See the node-oracledb installation documentation.
42+ // If the search path is not correct, you will get a DPI-1047 error.
43+ //
44+ // oracledb.initOracleClient({ libDir: 'C:\\instantclient_19_8' }); // Windows
45+ // oracledb.initOracleClient({ libDir: '/Users/your_username/Downloads/instantclient_19_8' }); // macOS
4346
4447async function run ( ) {
4548 let connection ;
You can’t perform that action at this time.
0 commit comments