Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How do I replicate from a secured CouchDB database?

I am using Fauxton in a test environment to replicate from our test server to my local server. I logged in to the test server in another browser tab, but replication still fails despite the cookie being there.

like image 725
Seth Avatar asked Dec 19 '25 20:12

Seth


1 Answers

The solution is to prepend your username and your password to the remote replication URI:

https://user:[email protected]:7984/mydb

See http://wiki.apache.org/couchdb/Replication#Authentication for more information.

(This approach should be reviewed or avoided in a production environment.)

like image 155
Seth Avatar answered Dec 24 '25 10:12

Seth



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!