Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Forgot Username / Pwd to CouchDB

Tags:

couchdb

Does anyone know how can I reset the username and password for CouchDB ?

like image 584
linktoarun Avatar asked Mar 19 '12 06:03

linktoarun


1 Answers

This worked for me: while couchdb is stopped,

  1. clear the [admin] section in your */etc/couchdb/local.ini
  2. delete the _users.couch database (located in */var/lib/couchdb/)

This will reset the user database to factory defaults (admin party!) and wipe all of couchdb's user accounts. There might be a more subtle way

like image 135
user2378197 Avatar answered Sep 18 '22 06:09

user2378197