ExtraDRM : Design Ressource Management

Web content and data design solutions

Browsing Posts in MongoDB

Shell Mongo : > mongo Once you are in terminal/command line, access the database/collection you want to use as follows: show dbs use <db name> show collections choose your collection and type the following to see all contents of that collection: db.collectionName.find() for a query below some samples : db.products.find({ “_id”: “apples”, “qty”: 5 } [...]

On a wampserver, Install the php_mongo-1.3.1 extension and you will be able to connect to mongo. you can refer here to mongo installation. You must verify after restarting apache that mongo is activated and of course look Compiler Version for dlls (VC9 or VC6) if VC9 you must use this dll : mongo-latest-php5.3vc9ts A sample php [...]

This is a very annoying error that we cannot see origin. Some blogs refers that is a space limitation issue. In the file mongodb.log, you will see the following things : Tue Jan 15 19:45:39 [initandlisten] ** NOTE: when using MongoDB 32 bit, you are limited to about 2 gigabytes of data Tue Jan 15 [...]