Test the JDBC connection to the PostgreSQL database instance for GitCentric, specifying the DB user account but having kandoMaintain prompt for the DB password:
kandoMaintain testconn -u postgres
kandoMaintain prompts you to enter the database admin password, and uses the default connection string jdbc:postgresql://localhost:5075/kando since you did not specify the -c <dbconnectstring> option.
List all the entries in the GitCentric database configuration table. Specify the database username, password, and connection string in an external file called db_vals.txt which exists in a secure directory named securefiles.
kandoMaintain lsconfig -Fc ./securefiles/db_vals.txt
Remove the configuration value that points to the instance of Git used by GitCentric, specifying the DB user account and DB password:
kandoMaintain rmconfig -u postgres -P DBpass2901 -n AC_GIT_BIN
Add a new configuration value that points to the instance of Git used by GitCentric, specifying the DB user account but having kandoMaintain prompt for the DB password:
kandoMaintain addconfig -u postgres -n AC_GIT_BIN -v '/usr/local/bin/git’
After upgrading GitCentric, upgrade the GitCentric database with the latest schema. Suppress the confirmation prompt, and specify the database username, password, and connection string in an external file called db_vals.txt which exists in a secure directory named securefiles.
kandoMaintain upgradedb -y -Fc ./securefiles/db_vals.txt