This shows you the differences between two versions of the page.
Both sides previous revision Previous revision | |||
database:db2 [2024/05/24 11:21] manu |
database:db2 [2024/05/28 17:56] (current) manu [connect to DB2] |
||
---|---|---|---|
Line 153: | Line 153: | ||
</cli> | </cli> | ||
- | | + | ===== Update a user password ===== |
+ | |||
+ | For example, use the CONNECT statement to change the password of the user instance, | ||
+ | <cli prompt='$'> | ||
+ | $ db2 "CONNECT TO <database> USER <userid> USING <password> NEW <new_password> CONFIRM <new_password>" | ||
+ | </cli> | ||
===== DB2 list command ===== | ===== DB2 list command ===== | ||