Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
Community Members
Community Events
Community Groups

Can't log in and how to reset

We had a recent event that caused issues and we lost LDAP connection on our Confluence. Now no one here knows the local admin account and its password. Is there another way to sign in Confluence?

1 answer

1 accepted

1 vote
Answer accepted
Srinatha T Atlassian Team Mar 25, 2022

Hi @David Cui ,

Welcome to Atlassian community.

The only option now is to recover the admin rights. If you have access to the server then you can try.  Below KB has all the steps , kindly follow the same. All the best.

Hope the above information helps. 



Srinath T

Hi @Srinatha T ,

Thank you for your prompt response. We went through the article and tried the following steps:

  • We are on Confluence 5.6.3 and mysql database/Linux.
  • We found the file confluence.ctg.xml which stores the admin username and password.
  • We tried using the admin credentials via mysql Workbench (on another machine in the same network) to log in the database but kept getting errors.

Was there anything we missed or we didn't do right?

Thanks so much,


Srinatha T Atlassian Team Mar 28, 2022

@David Cui  , whats the error with logging into mysql ? If you have forgot login creds of mysql as well then you will have to recover that first. 

Thank you @Srinatha T 

We have another question here if you can answer... we changed our domain controller. Where can we find the DNS config file? 

Hi @Srinatha T

You can discard my question above. We were able to locate the file where the DNS is defined and changed it to the new host. This resolved the LDAP authentication issue.



Suggest an answer

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

Confluence: Where work and wellness meet

Feeling overwhelmed by the demands of work and life? With a 25% increase in the prevalence of anxiety and depression worldwide during the pandemic, for most of us, it’s a resounding yes . 🙋‍♀️ ...

903 views 11 26
Read article

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