Tags » Mongodb

MongoDB 3.2 - Could not find host matching read preference

MongoDB 3.2 – Could not find host matching read preference.


  • MongoDB 3.2, WiredTiger
  • 2 shards
  • 3 node replica set

Error Message

mongos> db.collection.find()
Error: error: {
 "ok" : 0,
 "errmsg" : "could not find host matching read preference { mode: \"primary\", tags: [ {} ] } for set rs0",
 "code" : 133
} 162 more words

Webinar on Unleash the power of Mongo DB Part 1 on 29th Oct, 2016

Add to calendar –

As we all know, MongoDB is a free and open-source cross-platform document-oriented database program. Also Classified as a NoSQL database program, MongoDB uses JSON-like documents with schemas. 224 more words

Event Update

Develop a web application with Angular2

Image by freeimageslive.co.uk – creator

Angular2 promises many improvements over the previous version.

It’s simpler to learn thanks to easier and more concise concepts like component-based architecture. 3,515 more words


Migrate Data From Mysql To MongoDb Through Laravel (v5+)

i made a little tool to help anyone in a matter of minutes migrate their data from MySql To MongoDb.

The Tool Include Commands Like…

80 more words

Best way to add chained any_of in Rails

If you are using Mongoid and suppose you have two scopes like

class Post
    scope :scope1, -> {any_of([{field1: value1},{field2: value2}])}
    scope :scope2, -> {any_of([{field3: value3},{field4: value4}])}
    ... 73 more words
Ruby On Rails

MongoDb with Laravel Mac & Homestead Installation

i just started to learn MongoDb so this post is simply a reference on how to get things starting without too much trouble especially if you are coming from the world of… 479 more words


Combine MongoDB with Laravel Part 1 (MongoDB Installation)


MongoDB adalah sistem basis data berorentasi dokumen lintas platform. Diklasifikasikan sebagai basis data “NoSQL”, MongoDB menghindari struktur basis data relasional tabel berbasis tradisional yang mendukung JSON seperti dokumen dengan skema dinamis (MongoDB menyebutnya sebagai format BSON), membuat integrasi data dalam beberapa 489 more words