database

The database configuration type updates a component's database configuration, including its username, password, and JDBC URL.

To update a component's database configuration, run the following from the Admin Server:
./bdd-admin.sh publish-config database <component> [option]

database requires one of the following components.

Component Description
wm Workflow Manager Service

database supports the following options.

Option Description
-u, --username <value> Sets the database username to the specified value.
-p, --password [value] Sets the database password to the specified value. If no value is provided, the script will prompt for one.
-j, --jdbc <value> Sets the database JDBC URL to the specified value.
Note that you can specify multiple options at once. For example, the following command updates the Workflow Manager Service's database username and password:
./bdd-admin.sh publish-config database wm -u workflow -p
Enter password:
[2016/08/30 05:26:12 -0400] [Admin Server] Updating database settings...
[2016/08/30 05:26:12 -0400] [Admin Server] Refreshing settings in file...Success!
[2016/08/30 05:26:17 -0400] [Admin Server] Distributing updated file to all nodes...Success!
[2016/08/30 05:26:21 -0400] [Admin Server] Successfully updated database settings.

For more information on updating component database configuration, see Updating component database configuration.