How do I recover or reset a lost admin password in eZ Publish?

Solution 1:

mysql -udbuser -pdbpassword -e "UPDATE ezuser SET password_hash_type=5, password_hash='publish' WHERE login='admin';" databasename

Note: Your database settings are usually stored in settings/sitecacess/xxx/site.ini.append.php

Solution 2:

Send yourself a forgot password mail. Access the url http://example.com/user/forgotpassword

Solution 3:

Ask another admin user to reset it.