Browse Source

Fix oracle password config

master
Rory Powell 5 years ago
parent
commit
bd3bf6a9ad
  1. 2
      packages/server/scripts/integrations/oracle/oracle.md
  2. 2
      packages/server/src/integrations/oracle.ts

2
packages/server/scripts/integrations/oracle/oracle.md

@ -84,7 +84,7 @@ The `HR` schema is populated with dummy data by default in oracle for testing pu
To connect to the HR schema first update the user password and unlock the account by performing To connect to the HR schema first update the user password and unlock the account by performing
```sql ```sql
ALTER USER hr ACCOUNT UNLOCK; ALTER USER hr ACCOUNT UNLOCK;
ALTER USER hr IDENTIFIED BY hr ALTER USER hr IDENTIFIED BY hr;
``` ```
You should now be able to connect to the hr schema using the credentials hr/hr You should now be able to connect to the hr schema using the credentials hr/hr

2
packages/server/src/integrations/oracle.ts

@ -381,7 +381,7 @@ module OracleModule {
}` }`
const attributes: ConnectionAttributes = { const attributes: ConnectionAttributes = {
user: this.config.user, user: this.config.user,
password: this.config.user, password: this.config.password,
connectString, connectString,
} }
return oracledb.getConnection(attributes) return oracledb.getConnection(attributes)

Loading…
Cancel
Save