Skip to content

Instantly share code, notes, and snippets.

@justusbluemer
Last active July 16, 2019 08:18
Show Gist options
  • Save justusbluemer/7f9ceeacd0afe737e162d15179b61c38 to your computer and use it in GitHub Desktop.
Save justusbluemer/7f9ceeacd0afe737e162d15179b61c38 to your computer and use it in GitHub Desktop.
How to reset the CouchDB admin password on macOS

If you want to reset the admin password of your CouchDB database, you just have to edit your configuration file at

/Users/{username}/Library/Preferences/couchdb2-local.ini

and remove the lines immediately after "[admins]". Then, restart CouchDB. Please make sure to create a new admin user for security.

Thanks to Alex Burghardt for his hint at apache/couchdb#1020 (comment)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment