php - "Invalid ns" when connecting to mongodb server -


I'm trying to connect to a Mongolabs Mongodb server I'm working on a small project for setup I can connect properly when connecting to my local machine, but when I try to make a connection to my mediation server, I get an 'invalid ns' error:

  Mongodebi Unable to connect to: Failed to connect: dsXX XXXX.mongolab.com:27769: send_package: query returned failure: invalid ns [XXXXXX_dev / XXXXXX_dev. $ Cmd] (Code: 16256)   

Any suggestions on how well it is, it will be a great help to you.

Perhaps your database name or your name in the connection name ()

You should make sure that your connection string is OK.

For example, I look like this

  mongodb: // mydblogin: mydbpassword@ds044444.mongolab.com: 44444 / mydatabase   

Also make sure the name of the collection is legal.

Comments

Popular posts from this blog

python - how we can use ajax() in views.py in django? -

matlab - Using loops to get multiple values into a cell -

python - Sequence Pattern recognition with Pybrain -