Re: [mongodb-user] Coldfusion & Mongodb

198 views
Skip to first unread message

Mark Mandel

unread,
Oct 8, 2012, 2:03:07 AM10/8/12
to mongod...@googlegroups.com
Lester,

ColdFusion in built query and database management can only work with JDBC Drivers.

If you want to connect to Mongo in ColdFusion, have a look at the cfmongodb project:

Or just use the Java Driver directly (loaded with JavaLoader or something similar).

Mark

On Mon, Oct 8, 2012 at 2:17 PM, Lester Kitson <lester...@gmail.com> wrote:
How to setup the Mongodb driver to work Coldfusion?
 
I have done items 1 and 2 but what are the steps after that?
 
  1. Download the driver from here https://github.com/mongodb/mongo-java-driver/downloads
  2. Place the JAR file in the ColdFusion Class Path which is; cf_root/wwwroot/WEB-INF/lib
  3. In the Coldfusion Administrator, Data Sources to Add a Data Source, which driver sould be selected from the list? (I suspect 'Other')
  4. What should be the values to be entered in the fields (e.g. JDBC URL, Driver Class, Driver Name)?
Much thanks!
Lester

--
You received this message because you are subscribed to the Google
Groups "mongodb-user" group.
To post to this group, send email to mongod...@googlegroups.com
To unsubscribe from this group, send email to
mongodb-user...@googlegroups.com
See also the IRC channel -- freenode.net#mongodb



--
E: mark....@gmail.com
T: http://www.twitter.com/neurotic
W: www.compoundtheory.com

2 Devs from Down Under Podcast

Reply all
Reply to author
Forward
0 new messages