Skip to content

Commit a45ed37

Browse files
committed
Note that system env vars must be set before Node.js starts
1 parent 3f919fe commit a45ed37

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

doc/api.md

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6753,9 +6753,10 @@ Name | Description
67536753
`NLS_NUMERIC_CHARACTERS` | See [Fetching Numbers and Dates as String](#fetchasstringhandling). The variable is ignored if `NLS_LANG` is not
67546754
`TNS_ADMIN` | The location of the optional [Oracle Net configuration files](#tnsadmin) and [Oracle Client configuration files](#oraaccess), including `tnsnames.ora`, `sqlnet.ora`, and `oraaccess.xml`, if they are not in a default location.
67556755

6756-
It is recommended to set variables in the environment before invoking
6757-
Node.js, however they may also be set in application code as long as
6758-
they are set before node-oracledb is first used.
6756+
It is recommended to set Oracle variables in the environment before invoking
6757+
Node.js, however they may also be set in application code as long as they are
6758+
set before node-oracledb is first used. System environment variables like
6759+
`LD_LIBRARY_PATH` must be set before Node.js starts.
67596760

67606761
If you are using Linux and node-oracledb is being run on the same
67616762
computer as the database, you can set required Oracle environment

0 commit comments

Comments
 (0)