After installation, you can change the database that the WebSphere Partner Gateway components use. You can also change the name of the database user and the database user's password.
In the following commands, serverName refers to bcgconsole, bcgreceiver or bcgdocmgr for Console, Receiver, and Document Manager respectively.
bcgwsadmin.bat -f {INSTALL DIR}\scripts\bcgdbup.jacl -conntype NONE db_type dbNAME dbUserID dbPassword nodeName serverName
./bcgwsadmin.sh -f {INSTALL DIR}/scripts/bcgdbup.jacl -conntype NONE dbType dbName dbUserID dbPassword nodeName serverName
The following is an example of the use of this command:
./bcgwsadmin.sh -f {INSTALL DIR}/scripts/bcgdbup.jacl -conntype NONE db2 hub_db george ABCD123 DefaultNode bcgdocmgr