db.xml file

The db.xml file contains all of the database related parameters and is located in the $TOP/etc/default directory.

If you set the encrypt_password parameter to yes in the env_settings.ini file, the db_password_encrypted element will contain the encrypted database password. If you set the encrypt_password parameter to no, the db_password_plain element will contain the database password in plain text format.
The elements in thedb.xml file replace the following properties that were previously stored in the common.properties file:
  • db_userName
  • db_password
  • db_url
  • db_class_name
Note: Ensure that these properties are removed from the common.properties file.
You can encrypt the database password.
  • A new parameter encrypt_password has been added to the env_settings.ini file to control whether or not an encrypted database password should be used.
    Note: With the encrypt_password parameter set to yes, the database related scripts require the dbpassword argument to be specified when invoking the scripts. If the dbpassword argument is not specified, you will be prompted to enter the password. If the encrypt_password parameter is set to no or not set, you run the scripts without specifying the dbpassword argument as in previous versions of InfoSphere® Master Data Management Collaboration Server - Collaborative Edition.
  • A new db.xml file is added to support database password encryption. It stores the database related parameters that were previously stored in the common.properties file.