Browse Source

Merge pull request #3664 from Budibase/oracle/password-fix-hotfix

Fix oracle password config
pull/3666/head
Rory Powell 5 years ago
committed by GitHub
parent
commit
15f8a76115
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  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