The database configuration type updates a component's database configuration, including its username, password, and JDBC URL.
./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. |
./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.