Forum Discussion

SriAchar's avatar
SriAchar
Occasional Contributor
8 years ago

Connection to MongoDB

Hi All,   I am trying to connect to MongoDB using Groovy. Here is what I have tried:   import com.gmongo.GMongo def mongo = new GMongo("<server_name>:<port>") def db = mongo.getDB("<DB_Name>") ...