db.xml file parameters
The db.xml file contains all of the database-related parameters and is located in the $TOP/etc/default directory.
yes in
the env_settings.ini file, the db_password_encrypted
element contains the encrypted database password. If you set the
encrypt_password parameter to no, the
db_password_plain element contains the database password in plain text format. - db_userName
- db_password
- db_url
- db_class_name
Note: Ensure that these properties are removed from the common.properties
file.
Note: With the
encrypt_password parameter set to
yes, the database-related
scripts require the dbpassword argument to be specified when launching the scripts.
If the dbpassword argument is not specified, you are prompted to enter the
password. | Parameter | Description | Value | Example |
|---|---|---|---|
| db_class_name | Defines the fully qualified database class name of the database driver you use to connect to the database. | Class name Db2® - com.ibm.db2.jcc.DB2Driver Oracle - oracle.jdbc.driver.OracleDriver |
|
| db_password | Defines the password to log in to the database. | Database password |
|
| db_url | Defines the JDBC URL used to connect to the database. | JDBC URL |
|
| db_userName | Defines a username to log in to the database | Database username |
|