Update default connect string to match Oracle 19 PDB service name
This commit is contained in:
parent
da1daa8b3c
commit
bfb41792e3
|
@ -14,7 +14,7 @@ connection string:
|
|||
module.exports = {
|
||||
user: "hr",
|
||||
password: process.env.NODE_ORACLEDB_PASSWORD,
|
||||
connectString:"localhost/orclpdb"
|
||||
connectString:"localhost/orclpdb1"
|
||||
};
|
||||
|
||||
```
|
||||
|
@ -33,13 +33,13 @@ connection string:
|
|||
example, to load them in the HR schema run:
|
||||
|
||||
```
|
||||
sqlplus hr/welcome@localhost/orclpdb @demo.sql
|
||||
sqlplus hr/welcome@localhost/orclpdb1 @demo.sql
|
||||
```
|
||||
|
||||
The demonstration objects can be dropped with `demodrop.sql`:
|
||||
|
||||
```
|
||||
sqlplus hr/welcome@localhost/orclpdb @demodrop.sql
|
||||
sqlplus hr/welcome@localhost/orclpdb1 @demodrop.sql
|
||||
```
|
||||
|
||||
## Example Overview
|
||||
|
|
|
@ -36,7 +36,7 @@
|
|||
* [//]host_name[:port][/service_name][:server_type][/instance_name]
|
||||
*
|
||||
* Commonly just the host_name and service_name are needed
|
||||
* e.g. "localhost/orclpdb" or "example.com/XEPDB1"
|
||||
* e.g. "localhost/orclpdb1" or "example.com/XEPDB1"
|
||||
*
|
||||
* The Easy Connect syntax was enhanced in Oracle Database 19c to
|
||||
* allow more options, refer to the documentation:
|
||||
|
@ -84,7 +84,7 @@ module.exports = {
|
|||
|
||||
// For information on connection strings see:
|
||||
// https://oracle.github.io/node-oracledb/doc/api.html#connectionstrings
|
||||
connectString : process.env.NODE_ORACLEDB_CONNECTIONSTRING || "localhost/orclpdb",
|
||||
connectString : process.env.NODE_ORACLEDB_CONNECTIONSTRING || "localhost/orclpdb1",
|
||||
|
||||
// Setting externalAuth is optional. It defaults to false. See:
|
||||
// https://oracle.github.io/node-oracledb/doc/api.html#extauth
|
||||
|
|
Loading…
Reference in New Issue