@@ -314,7 +314,7 @@ Download the free **Basic** RPM from [Oracle Technology Network][12] and
314
314
[ install it] [ 13 ] with sudo or as the root user:
315
315
316
316
```
317
- sudo yum install oracle-instantclient12.2 -basic-12.2 .0.1 .0-1.x86_64.rpm
317
+ sudo yum install oracle-instantclient18.3 -basic-18.3 .0.0 .0-1.x86_64.rpm
318
318
```
319
319
320
320
This will install the required ` libaio ` package, if it is not already
@@ -330,24 +330,24 @@ that will be impacted, then permanently add Instant Client to the
330
330
run-time link path. For example, with sudo or as the root user:
331
331
332
332
```
333
- sudo sh -c "echo /usr/lib/oracle/12.2 /client64/lib > /etc/ld.so.conf.d/oracle-instantclient.conf"
333
+ sudo sh -c "echo /usr/lib/oracle/18.3 /client64/lib > /etc/ld.so.conf.d/oracle-instantclient.conf"
334
334
sudo ldconfig
335
335
```
336
336
337
337
Alternatively, every shell running Node.js will need to have the link
338
338
path set:
339
339
340
340
```
341
- export LD_LIBRARY_PATH=/usr/lib/oracle/12.2 /client64/lib
341
+ export LD_LIBRARY_PATH=/usr/lib/oracle/18.3 /client64/lib
342
342
```
343
343
344
344
#### 3.2.5 Optionally create the default Oracle Client configuration directory
345
345
346
346
If you intend to co-locate optional Oracle configuration files such as
347
347
[ ` tnsnames.ora ` ] [ 15 ] , [ ` sqlnet.ora ` ] [ 16 ] , [ ` ldap.ora ` ] [ 17 ] , or
348
348
[ ` oraaccess.xml ` ] [ 18 ] with Instant Client, they can be put in a
349
- ` network/admin ` subdirectory under ` lib/ ` . Create this if needed.
350
- For example :
349
+ ` network/admin ` subdirectory under ` lib/ ` . With Instant Client 12.2
350
+ or earlier, create this :
351
351
352
352
```
353
353
sudo mkdir -p /usr/lib/oracle/12.2/client64/lib/network/admin
@@ -453,9 +453,9 @@ and [unzip it][13] into a directory accessible to your application,
453
453
for example:
454
454
455
455
```
456
- unzip instantclient-basic-linux.x64-12.2 .0.1.0 .zip
456
+ unzip instantclient-basic-linux.x64-18.3 .0.0.0dbru .zip
457
457
mkdir -p /opt/oracle
458
- mv instantclient_12_2 /opt/oracle
458
+ mv instantclient_18_3 /opt/oracle
459
459
```
460
460
461
461
You will need the operating system ` libaio ` package installed. On
@@ -466,23 +466,24 @@ that will be impacted, then permanently add Instant Client to the
466
466
run-time link path. For example, with sudo or as the root user:
467
467
468
468
```
469
- sudo sh -c "echo /opt/oracle/instantclient_12_2 > /etc/ld.so.conf.d/oracle-instantclient.conf"
469
+ sudo sh -c "echo /opt/oracle/instantclient_18_3 > /etc/ld.so.conf.d/oracle-instantclient.conf"
470
470
sudo ldconfig
471
471
```
472
472
473
473
Alternatively, every shell running Node.js will need to have the link
474
474
path set:
475
475
476
476
```
477
- export LD_LIBRARY_PATH=/opt/oracle/instantclient_12_2 :$LD_LIBRARY_PATH
477
+ export LD_LIBRARY_PATH=/opt/oracle/instantclient_18_3 :$LD_LIBRARY_PATH
478
478
```
479
479
480
480
#### 3.2.5 Optionally create the default Oracle Client configuration directory
481
481
482
482
If you intend to co-locate optional Oracle configuration files such as
483
483
[ ` tnsnames.ora ` ] [ 15 ] , [ ` sqlnet.ora ` ] [ 16 ] , [ ` ldap.ora ` ] [ 17 ] , or
484
484
[ ` oraaccess.xml ` ] [ 18 ] with Instant Client, they can be put in a
485
- ` network/admin ` subdirectory. Create this if needed. For example:
485
+ ` network/admin ` subdirectory. With Instant Client 12.2 or earlier,
486
+ create this:
486
487
487
488
```
488
489
sudo mkdir -p /opt/oracle/instantclient_12_2/network/admin
@@ -715,7 +716,8 @@ cp /opt/oracle/instantclient_11_2/{libclntsh.dylib.11.1,libnnz11.dylib,libociei.
715
716
If you intend to co-locate optional Oracle configuration files such as
716
717
[ ` tnsnames.ora ` ] [ 15 ] , [ ` sqlnet.ora ` ] [ 16 ] , [ ` ldap.ora ` ] [ 17 ] , or
717
718
[ ` oraaccess.xml ` ] [ 18 ] with Instant Client, they can be put in a
718
- ` network/admin ` subdirectory. Create this if needed. For example:
719
+ ` network/admin ` subdirectory. With Instant Client 12.2 or earlier,
720
+ create this:
719
721
720
722
```
721
723
sudo mkdir -p /opt/oracle/instantclient_12_2/network/admin
@@ -807,12 +809,12 @@ Download the free 64-bit Instant Client **Basic** ZIP file from
807
809
[ Oracle Technology Network] [ 25 ] . (The 32-bit Instant Client is
808
810
[ here] [ 26 ] ).
809
811
810
- - Extract ` instantclient-basic-windows.x64-12.2 .0.1.0 .zip `
812
+ - Extract ` instantclient-basic-windows.x64-18.3 .0.0.0dbru .zip `
811
813
812
814
- Add its directory to ` PATH ` . For example on Windows 7, update
813
815
` PATH ` in Control Panel -> System -> Advanced System Settings ->
814
816
Advanced -> Environment Variables -> System variables -> ` PATH ` and
815
- add your path, such as ` C:\oracle\instantclient_12_2 ` .
817
+ add your path, such as ` C:\oracle\instantclient_18_3 ` .
816
818
817
819
If you have multiple versions of Oracle libraries installed, make
818
820
sure the desired version occurs first in ` PATH ` before you run
@@ -828,7 +830,7 @@ Download the free 64-bit Instant Client **Basic** ZIP file from
828
830
If you intend to co-locate optional Oracle configuration files such as
829
831
[ ` tnsnames.ora ` ] [ 15 ] , [ ` sqlnet.ora ` ] [ 16 ] , [ ` ldap.ora ` ] [ 17 ] , or
830
832
[ ` oraaccess.xml ` ] [ 18 ] with Instant Client, they can be put in a
831
- ` C:\oracle\instantclient_12_2 \network\admin ` subdirectory. Create
833
+ ` C:\oracle\instantclient_18_3 \network\admin ` subdirectory. Create
832
834
this if needed.
833
835
834
836
This is the default Oracle configuration directory for applications
@@ -1533,15 +1535,15 @@ Download the Oracle Instant Client Basic package from [Instant Client
1533
1535
Downloads for Linux x86-64 (64-bit)] [ 12 ] and install it:
1534
1536
1535
1537
```
1536
- yum install oracle-instantclient12.2 -basic-12.2 .0.1 .0-1.x86_64.rpm
1537
- echo /usr/lib/oracle/12.2 /client64/lib > /etc/ld.so.conf.d/oracle-instantclient.conf
1538
+ yum install oracle-instantclient18.3 -basic-18.3 .0.0 .0-1.x86_64.rpm
1539
+ echo /usr/lib/oracle/18.3 /client64/lib > /etc/ld.so.conf.d/oracle-instantclient.conf
1538
1540
sudo ldconfig
1539
1541
```
1540
1542
1541
- Install the node-oracledb package:
1543
+ Install the node-oracledb package, for example :
1542
1544
1543
1545
```
1544
- yum install node-oracledb-12c-node8 -3.0.0
1546
+ yum install node-oracledb-18c-node10 -3.0.0
1545
1547
```
1546
1548
1547
1549
Since node-oracledb is installed globally, set ` NODE_PATH ` before
0 commit comments