It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

Confluence failed to connect the database after upgraded to the latest version.

I upgraded Confluence Version 06.15.02 to Version 06.15.04.

Now I can't open the Confluence server. It says, Confluence failed to establish a connection to your database.

1 answer

1 accepted

  1. Did you check confluence.cfg.xml for database credentials?
  2. Can you verify if confluence server is able to ping/connect to database server?
  3. As a part of upgrade, hope you had backed up confluence.cfg.xml and using the same.

1. Checked the cfg.xml, found following entries.

Running cfg.xml
<property name="hibernate.connection.password"></property>
<property name="hibernate.connection.username">sa</property>

Backup cfg.xml
<property name="hibernate.connection.password"/>
<property name="hibernate.connection.username">sa</property>

How do I find the correct database credentials?

2. Server is self hosted and accessing Confluence locally.


Didi you find the solution , how to add username and password to the configuration file ?

Thank you  

Suggest an answer

Log in or Sign up to answer
Community showcase
Posted in Confluence

Lessons and Learnings: Six Months of Working Remote [Discussion]

Hey there, folks! For most of us, the past six months- yes, you read that right- have been a journey. More people than ever before have pivoted to working remotely, and navigating being on-scre...

7,069 views 6 6
Join discussion

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you