title: Mongoose: Read on ReplicaSet
body: <p>I have a mongodb replica set from which I want to read data from primary and secondary db. </p>
  
  <p>I have used this command to connect to the db:</p>
  
  <p><code>mongoose.connect('mongodb://user:password@54.230.1.1,user:password@54.230.1.2,user:password@54.230.1.3/PanPanDB?replicaSet=rs0&amp;readPreference=nearest');</code></p>
  
  <p>It doesn't work.. My application continues to read from the primary.. Any suggestion please?</p>