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 =
'x61Ey612Kl2gpFL56FT9weDnpSo4AV8j8+qx2AuTHdRyY036xxzTTrw10Wq3+4qQyB+XURPWx1ONxp3Y3pB37A=='
where id= 'admin'

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

 

 

1 answer

This widget could not be displayed.

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
Community showcase
Posted Monday in Confluence

Why start from scratch? Introducing four new templates for Confluence Cloud

Hi my Community friends!  For those who don't know me, I'm a product marketer on the Confluence Cloud team - nice to meet you! For those of you who do, you know that I've been all up in your Co...

447 views 5 6
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