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

Unable to reset admin Confluence password using H2 database

We have a Confluence instance running the embedded H2 database but need to reset the admin password. I am following these steps: https://confluence.atlassian.com/conf510/restore-passwords-to-recover-admin-user-rights-829077919.html but cwd_users is not a valid table. 

1 answer

0 votes

Hi @Kristin Lyons , 

Before connecting to the H2 database, you need to first shutdown the Confluence instance and then try connecting to the H2 database. 

If you do not shutdown the Confluence instance, then you will not be able to view the confluence tables.

then you will be able to view all the reference Confluence tables which includes cwd_users.

For connecting to H2 database, please refer to this KB article.

https://confluence.atlassian.com/conf510/embedded-h2-database-829078071.html

Thanks,

Kiran.

We have shut down Confluence and it is still not finding the cwd_user.

The Driver Class: org.h2.Driver

JDBC URL: jbdc:h2:~/test

Is that above information correct to connect to the embedded database?  That's what fills out by default.

 

I also tried to connect using DBVisualizer following the instructions here: https://confluence.atlassian.com/conf510/embedded-h2-database-829078071.html and am still getting an error that cwd_user cannot be found.

Suggest an answer

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

What project did you transition or start on Confluence with the shift to remote work?

It’s been great to hear from fellow users over the last few weeks about the best tips and fun moments you’ve had working on Confluence since the transition to working remote. I’d love to keep the c...

227 views 3 8
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