Error Message When Resetting Admin Password

When I attempt to reset the admin password using the below query I receive an error message stating "Error converting data type varchar to numeric". Any ideas as to what I'm doing wrong?

update cwd_user set credential =
where id= 'admin'

Thank you for your time, and please let me know if more information is needed!



1 answer

0 vote

id is the unique id for the line in the database representing a user.  It is NOT the user's login. 

Try using lower_user_name instead of id.

Awesome, thanks, Nic!

I used the unique id and it worked no problem.

Suggest an answer

Log in or Sign up to answer
Atlassian Community Anniversary

Happy Anniversary, Atlassian Community!

This community is celebrating its one-year anniversary and Atlassian co-founder Mike Cannon-Brookes has all the feels.

Read more
Community showcase
Kesha Thillainayagam
Posted Apr 13, 2018 in Confluence

We want to hear how your non-technical teams are using Confluence!

Hi Community! Kesha (kay-sha) from the Confluence marketing team here! Can you share stories with us on how your non-technical (think Marketing, Sales, HR, legal, etc.) teams are using Confluen...

381 views 21 10
Join discussion

Atlassian User Groups

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

Find a group

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

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you