Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

Next challenges

Recent achievements

  • Global
  • Personal

Recognition

  • Give kudos
  • Received
  • Given

Leaderboard

  • Global

Trophy case

Kudos (beta program)

Kudos logo

You've been invited into the Kudos (beta program) private group. Chat with others in the program, or give feedback to Atlassian.

View group

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 do you think is the most *delightful* Confluence feature? Comment for a prize!

- Create your own custom emoji 🔥 - "Shake for Feedback" on mobile 📱 - An endless supply of GIFs via GIPHY 🤩 Is there anything quite as nice as a pleasant surprise? Comment below with what...

323 views 23 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