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
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with
2 additions and
2 deletions
-
packages/server/scripts/integrations/oracle/oracle.md
-
packages/server/src/integrations/oracle.ts
|
|
@ -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 |
|
|
|
|
|
|
|
|
|
|
|
@ -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) |
|
|
|