I am trying to work with some third-party code that does
couchdb -a ./my/couch.ini
This does not work on Windows because the couchdb.bat
file does not pass arguments through to CouchDB. So CouchDB always starts up on the default port (5984), instead of the one specified in ./my/couch.ini
(15984).
I tried manually passing arguments through by using the contents of the batch file. I.e.
cd "C:\Program Files (x86)\Apache Software Foundation\CouchDB\bin"
erl -sasl errlog_type error -s couch -a /full/path/to/my/couch.ini
But this doesn't seem to do anything, i.e. it's still on 5984.
I tried a few variants of /full/path/to/my/couch.ini
, e.g. C:/full/path/to/my/couch.ini
and C:\full\path\to\my\couch.ini
and C:\\full\\path\\to\\my\\couch.ini
, but there was no difference.
Has anyone been able to run CouchDB on Windows with a custom couch.ini
file?