How do I recover my password

I changed the admin password when I created db password and I have forgotten the password. How do I reset the password to access ERPnext setup. Thanks

@chris,

try to use bench set-admin-password <new password>

Chris
Bai Web and Mobile Labs
https://bai.ph

I tried it and shows error " syntax error near unexpected token ‘newline’ It is requesting for erpnext password. Please how do I reset the erpnext password

Hi please try to run from frappe-bench folder

@SwitsolAG, It is giving me error “no such file”. Please what next should I do? I tried to reinstall erpnext but it is asking the password which I dont know again. How do I reset the old password. Thank you.

please run bench --set_admin_password from folder frappe-bench