Mayur
Mayur

Reputation: 1143

How to use Mongo Database URI in eclipse

I am new to MongoDb, i am using it in eclipse Birt Report but i am not getting what is Mongo Database URI in this.???

How to use it.??

enter image description here

Upvotes: 0

Views: 252

Answers (1)

Neil Lunn
Neil Lunn

Reputation: 151132

Either fill in the "Server", "Host" etc options otherwise available or just post a URI in the form of:

 mongodb://[user]:[password]@[hostname]:[port]/[database]

Various driver documentation samples have examples of this. For example the Java driver:

http://api.mongodb.org/java/current/com/mongodb/MongoClientURI.html

Upvotes: 1

Related Questions