Does anyone know how can I reset the username and password for CouchDB ?
For mac users, base folder is /Library/Application Support/couchdb
You can change couchbase localhost password by using following steps: 1. Install crul(for windows) 2. curl -u Administrator:password http://localhost:8091/controller/changePassword -d password=admin123
With Apache CouchDB, admin accounts passwords can be changed by editing a file local.ini in the CouchDB config folder (/etc/couchdb/ on most Linux installs). [1]
Look for the [admin]
section, which will list the all admin usernames, along with their hashed passwords:
[admin]
foo = -pbkdf2-0e0e83f911c970565fc988497a657bdc21a005e8,19ecef0bea1caf8d7f08fb791379c686,10
Replace the password hash with a new clear text password:
foo = bar
Now restart CouchDB (sudo restart couchdb
on Ubuntu). CouchDB will notice the clear text password on startup and automatically replace it with the hashed version.