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

0 votes

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
Published Mar 12, 2019 in Confluence

Confluence Admin Certification now $150 for Community Members

More and more people are building their careers with Atlassian, and we want you to be at the front of this wave! Important Dates Start the Certification Prep Course by 2 April 2019 Take your e...

1,331 views 2 13
Read article

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