Hello everyone,
I've just installed on the localhost drupal 7.
I've read that, among the new features, Drupal 7 can also support a database nosql as MongoDB.
So I downloaded MongoDB on my pc and it works.
During the installation of Drupal 7, i had to indicate a mysql database; so I created it.
Now I wanted to replace or add in the configuration of the drupal 7 the database mongo to manage the content that I'm going to enter into drupal.
How can I do??
Then to entering data into MongoDB can I use drupal interface or i have to do it in another way?
Thanks a lot,
Silvia

Comments

arianek’s picture

Issue tags: +d7docs, +server stuff

tags

chx’s picture

subscribe

eds11’s picture

Additional question (sorry, no solution for the questions above...) : how can I make Drupal7 recognize my installed MongoDB ?
I installed all necessary modules (Entity, SearchAPI, MongoDB...) into Drupal7, I installed MongoDB itself, tested it (and it works), it is running as a service, but still Drupal7 reports it in its modules listing as being 'missing'.... How to avoid that - as clearly with this problem there is no way of even checking how it works in Drupal - ? Can I change a setting manually somewhere perhaps ?
Here is a snap of the listing - with the last 'missing' being in red :
MongoDB search 7.x-1.0-alpha2 A backend storage mechanism for Search API using MongoDB
Requires: Search API (enabled), Entity API (enabled), Mongodb (missing).

The 'Search API' module reports that the database search is disabled, along with MongoDB search, but I suppose this is rather a consequence (of the fact that MongoDB is 'missing') than a cause.

helenhagos’s picture

In my case I managed to install the MongoDB module in Drupal7 (after
having added lots of other modules.. it is not obvious) and having
also installed the MongoDB software itself. I am using Windows7
32-bits with WAMP and had to re-boot Windows in order to get the
MongoDB server running.
Still, when I load my Drupal7 homepage, it reports the following
errors on MongoDB :

"Additional uncaught exception thrown while handling exception.
Original
MongoConnectionException: connecting to localhost failed: Unknown
error in Mongo->__construct() (line 32 of
C:\wamp\www\drupal7\sites\all\modules\mongodb\mongodb.module).
Additional
MongoConnectionException: connecting to localhost failed: Unknown
error in Mongo->__construct() (line 32 of
C:\wamp\www\drupal7\sites\all\modules\mongodb\mongodb.module)."

Another question is : can MongoDB now be used by the end-user, other
than for system-maintenance purposes (e.g. WatchDog, cache...) but for
storing data (e.g. bibliographic references etc.) ?
Or is that not the idea of the MongoDB module in Drupal ?

Thanks in advance for your help!
Helen

arianek’s picture

Hi all - just a reminder this issue should really be for noting specifics about what needs to be documented. Since this is the Documentation queue, any support should be related to the actual documentation...

If you need help with the actual work/config you're doing, you will need to ask in the forums http://drupal.org/forum or on IRC http://drupal.org/irc for help.

Thanks!