# Cannot connect with MongoLab

**URL:** <https://community.dreamfactory.com/t/cannot-connect-with-mongolab/1573>\
**Category:** Connecting to NoSQL\
**Created:** [October 4, 2015, 8:46pm UTC](https://community.dreamfactory.com/t/cannot-connect-with-mongolab/1573 "2015-10-04T20:46:54Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![abhijeet\_dey](https://avatars.discourse-cdn.com/v4/letter/a/a698b9/32.png) [@abhijeet\_dey](https://community.dreamfactory.com/u/abhijeet_dey)\
**Post date:** [October 4, 2015, 8:46pm UTC](https://community.dreamfactory.com/t/cannot-connect-with-mongolab/1573/1 "2015-10-04T20:46:54Z")

</div>

I followed several options connecting to mongodb hosted by MongoLab but no success.

I have tried both options providing the complete connection string like

mongodb://:@ds029827.mongolab.com:29827/mongotest

and also giving the username,password etc seperate in services tab.

I have verified the connection to mongolab using java driver and it was successful.

Error I am getting on the Roles tab.

DreamFactory Utility Module  
Unexpected MongoDb Service Exception:  
Failed to connect to: [ds029827.mongolab.com:29827](http://ds029827.mongolab.com:29827): Authentication failed on database ‘mongotest’ with username ‘admin’: auth failed

Kindly provide insights if any steps are missing.

---

<div class="post-metadata">

**Author:** ![formerstaff](https://yyz1.discourse-cdn.com/flex035/user_avatar/community.dreamfactory.com/formerstaff/32/1133_2.png) [@formerstaff](https://community.dreamfactory.com/u/formerstaff)\
**Post date:** [October 6, 2015, 8:47pm UTC](https://community.dreamfactory.com/t/cannot-connect-with-mongolab/1573/2 "2015-10-06T20:47:08Z")

</div>

Hi Abhijeet. Is this on the hosted DreamFactory system ([cloud.dreamfactory.com](https://cloud.dreamfactory.com) or [enterprise.dreamfactory.com](https://enterprise.dreamfactory.com) ?)  
If so, please know that we had an issue with an out of date driver. This is issue was resolved today and mongodb access should be available as per normal connection settings.
