File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -3779,8 +3779,8 @@ Encryption of data-at-rest in the database.
3779
3779
#### Changing Passwords
3780
3780
3781
3781
Database passwords can be changed with
3782
- [` connection .changePassword ()` ](#changepassword). For example, to
3783
- change HR's password from 'welcome' to 'streamboat ':
3782
+ [` connection .changePassword ()` ](#changepassword). For example, the HR
3783
+ user can change their password from 'welcome' to 'steamboat ':
3784
3784
3785
3785
` ` ` javascript
3786
3786
oracledb .getConnection (
@@ -3807,15 +3807,15 @@ ignored and can be an empty string:
3807
3807
` ` ` javascript
3808
3808
oracledb .getConnection (
3809
3809
{
3810
- user : " system" ,
3810
+ user : " system" , // a privileged user
3811
3811
password : " secret" ,
3812
3812
connectString : " localhost/orclpdb"
3813
3813
},
3814
3814
function (err , connection ) {
3815
3815
if (err) { console .error (err .message ); return ; }
3816
3816
3817
3817
connection .changePassword (
3818
- ' hr' , ' ' , ' steamboat' ,
3818
+ ' hr' , ' ' , ' steamboat' , // change HR's password to 'steamboat'
3819
3819
function (err ) {
3820
3820
. . .
3821
3821
});
You can’t perform that action at this time.
0 commit comments