tc / RMongo

R client to interface with MongoDB
102 stars 34 forks source link

Problem with dbAuthenticate() #10

Open howardjp opened 13 years ago

howardjp commented 13 years ago

I am having a problem with dbAuthenticate() in that it returns FALSE no matter what I give it and I am unable to access my database. I have confirmed my username and password are given correctly.

howardjp commented 13 years ago

Hmm, more info. I just figured out that if I set the port explicitly (despite being the default), things start working.

DanielWeitzenfeld commented 13 years ago

I, too was having problems authenticating, until I saw your post here and tried specifying the port explicitly. In my case, I hadn't noticed that the default port (27017) differed slightly from the port MongoLab gave me (27107).

howardjp commented 13 years ago

Oh, oh, that may be my problem!