Changing Database Password
Use the procedure below to change the password of the users mzadmin and mzowner in Oracle, PostgreSQL and SAP HANA databases.
Note!
A prerequisite for this to work properly is that the database is only used by the Platform and not by any configurations.
Disable all workflow groups, either from the Execution Manager in Desktop, or by using the
mzsh wfdisablecommand.Let all batch workflows finish execution.
Use the command
mzsh topo getto list the jdbc parameters.$ mzsh topo get -s --format data-only topo://container:<mz.container>/pico:platform/obj:config.properties.mz.jdbcUse the
mzsh topo setcommand to update the password for mzadmin:$ mzsh topo set topo://container:<mz.container>/pico:platform/val:config.properties.mz.jdbc.password `mzsh encryptpassword <new password>`Shut down the platform using the
mzsh shutdowncommand.Update the Oracle, PostgreSQL or SAP HANA passwords to correspond to your new mzadmin password.
Startup the Platform.
Enable all workflow groups and start all workflows again.