Skip to content

Commit bfb4179

Browse files
committed
Update default connect string to match Oracle 19 PDB service name
1 parent da1daa8 commit bfb4179

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

examples/README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ connection string:
1414
module.exports = {
1515
user: "hr",
1616
password: process.env.NODE_ORACLEDB_PASSWORD,
17-
connectString:"localhost/orclpdb"
17+
connectString:"localhost/orclpdb1"
1818
};
1919
2020
```
@@ -33,13 +33,13 @@ connection string:
3333
example, to load them in the HR schema run:
3434

3535
```
36-
sqlplus hr/welcome@localhost/orclpdb @demo.sql
36+
sqlplus hr/welcome@localhost/orclpdb1 @demo.sql
3737
```
3838

3939
The demonstration objects can be dropped with `demodrop.sql`:
4040

4141
```
42-
sqlplus hr/welcome@localhost/orclpdb @demodrop.sql
42+
sqlplus hr/welcome@localhost/orclpdb1 @demodrop.sql
4343
```
4444

4545
## Example Overview

examples/dbconfig.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@
3636
* [//]host_name[:port][/service_name][:server_type][/instance_name]
3737
*
3838
* Commonly just the host_name and service_name are needed
39-
* e.g. "localhost/orclpdb" or "example.com/XEPDB1"
39+
* e.g. "localhost/orclpdb1" or "example.com/XEPDB1"
4040
*
4141
* The Easy Connect syntax was enhanced in Oracle Database 19c to
4242
* allow more options, refer to the documentation:
@@ -84,7 +84,7 @@ module.exports = {
8484

8585
// For information on connection strings see:
8686
// https://oracle.github.io/node-oracledb/doc/api.html#connectionstrings
87-
connectString : process.env.NODE_ORACLEDB_CONNECTIONSTRING || "localhost/orclpdb",
87+
connectString : process.env.NODE_ORACLEDB_CONNECTIONSTRING || "localhost/orclpdb1",
8888

8989
// Setting externalAuth is optional. It defaults to false. See:
9090
// https://oracle.github.io/node-oracledb/doc/api.html#extauth

0 commit comments

Comments
 (0)