How to configure database with username and password in database.json?
Hi,
I ve been using CompoundJS in my local machine, but when i try to use a different database server in production mode. It shows like "[Error: unauthorized db:.... lock type:0 client:127.0.0.1]"
how do i configure username and password in database.json?
try i.e
mongodb://user:password@host:port/dbname
try i.e
mongodb://user:password@host:port/dbname
On Thu, Feb 7, 2013 at 10:31 AM, balanv [email protected] wrote:
Hi,
I ve been using CompoundJS in my local machine, but when i try to use a different database server in production mode. It shows like "[Error: unauthorized db:.... lock type:0 client:127.0.0.1]"
how do i configure username and password in database.json?
— Reply to this email directly or view it on GitHubhttps://github.com/1602/compound/issues/377.
Great.. it works just like that.. thanks Sagish.