cancel
Showing results for 
Search instead for 
Did you mean: 

How to configure MongoDB with Alfresco Enterprise

dissectcode2
Champ in-the-making
Champ in-the-making
Hi - I just installed Enterprise v 4.1.1.3 and in the documentation there is instructions for installing Postgres, Oracle, DB2 etc but nothing for MongoDB - I found this in

/opt/alfresco-4.1.1.3/tomcat/shared/classes/alfresco-global.properties


### database connection properties ###
db.driver=org.postgresql.Driver
db.username=alfresco
db.password=Password
db.name=alfresco
db.url=jdbcSmiley Tongueostgresql://localhost:5432/${db.name}



I downloaded the latest mongo db driver. Can I follow the other instructions for Mongo too? If anyone has done this before please let me know how you did it. I am not a db expert. thank you!
5 REPLIES 5

mrogers
Star Contributor
Star Contributor
MongoDB is not a "relational database" its not a replacement for oracle, postgress etc.

Hello mrogers;
I need to know how to connect alfresco to a nosql database like mongodb or hbase, if you can help me. Thanks

dissectcode2
Champ in-the-making
Champ in-the-making
MongoDB is not a "relational database" its not a replacement for oracle, postgress etc.

do you know how i connect it to alfresco to be the database? or are you telling me it can't be done?

dissectcode2
Champ in-the-making
Champ in-the-making
MongoDB is not a "relational database" its not a replacement for oracle, postgress etc.

do you know how i connect it to alfresco to be the database? or are you telling me it can't be done?


i guess i'll try to follow this blog:
http://www.rothburysoftware.com/blog/2012/05/14/alfresco-and-mongodb/

psvann
Champ in-the-making
Champ in-the-making
The Rothbury approach is more for adding content to/from Mongo, rather than running Alfresco on top of Mongo, which I don't think is possible or advisable. I'd run Mongo on top of your choice of relational database (say, Postgres) and then use Rothbury's blog post as a guide for setting up a separate DB store that Alfresco pushes content to. (Not sure the reasons behind your implementation. We've experimented with a similar approach though, as we want to store text content in Mongo but manage files in Alfresco).