This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
database:db2 [2024/04/30 18:07] manu [DB2 command line] |
database:db2 [2024/05/28 17:56] (current) manu [connect to DB2] |
||
---|---|---|---|
Line 6: | Line 6: | ||
[[database:db2_clone_steps|DB2 clone steps]] | [[database:db2_clone_steps|DB2 clone steps]] | ||
+ | |||
+ | [[database:db2_install_steps|DB2 install steps]] | ||
====== DB2 command line ====== | ====== DB2 command line ====== | ||
Line 151: | 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 ===== | ||
Line 867: | Line 874: | ||
https://datageek.blog/2014/06/02/how-to-tell-when-a-table-reorg-is-needed/ | https://datageek.blog/2014/06/02/how-to-tell-when-a-table-reorg-is-needed/ | ||
+ | |||
+ | ===== Uninstall DB2 ===== | ||
+ | |||
+ | <cli prompt='#'> | ||
+ | [root@lnx01] /tmp/db2/universal # ./db2_deinstall -a -b /opt/ibm/db2/V11.5 | ||
+ | DBI1016I Program db2_deinstall is performing uninstallation. Please | ||
+ | </cli> |