Back

Explore Courses Blog Tutorials Interview Questions
0 votes
2 views
in Web Technology by (50.2k points)

With the help of the following code, I am trying to connect to mlab:

mongodb://ds119508.mlab.com:19508/myDb -u myUser -p myPass

But is always gives me the following message:

MongoDB shell version v3.4.0 connecting to: mongodb://ds119508.mlab.com:19508/heroku_xnz5tw94 MongoDB server version: 3.2.11 WARNING: shell and server versions do not match

1 Answer

0 votes
by (108k points)
edited by

I think you have updated your MongoDB without shutting down the server. Now you just have to restart your mongod process. 

Want to learn MongoDB from the experts, Check out this MongoDB Training in Sydney to enhance your Knowledge!

Related questions

0 votes
1 answer
0 votes
2 answers
0 votes
1 answer
0 votes
1 answer

Browse Categories

...