How do I change the JDBC user password in the web.xml file

David Registro shared this question 2 years ago
Answered

I had to change my Yellowfin Metadata database password.

How do I tell YF to use the new password as it's no longer connecting.

Comments (1)

photo
1

Modifying the Yellowfin DB connection parameters is just a matter of modifying the web.xml file, as listed in the following article.

There are 2 parameters to look at JDBCPassword & JDBCPasswordEncryption

The parameter you're after is the ;


      <param-name>JDBCPassword</param-name>
      <param-value>42HbJ5JSRBH1b4SqTTMo1Q==</param-value>
    </init-param>
    <init-param>
      <param-name>JDBCPasswordEncrypted</param-name>
     <param-value>true</param-value>

There are 2 ways to go about this;


  • Option 1
    Change the JDBCPasswordEncrypted from 'true' to 'false'
    Then update the JDBCPassword to whatever the password is meant to be
  • Option 2
    Get your plain text password
    Encrypt your password
    Then update the JDBCPassword with the new encrypted password

Start/Re-Start Yellowfin.