Help coderanch get a
new server
by contributing to the fundraiser
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Ron McLeod
  • Paul Clapham
  • Devaka Cooray
  • Liutauras Vilda
Sheriffs:
  • Jeanne Boyarsky
  • paul wheaton
  • Henry Wong
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Tim Moores
  • Carey Brown
  • Mikalai Zaikin
Bartenders:
  • Lou Hamers
  • Piet Souris
  • Frits Walraven

Why there is a need of Mongo Server

 
Ranch Hand
Posts: 391
1
MySQL Database PHP Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I have just started learning MongoDB.

Before that I have tried Oracle and MySQL , but We didin`t have any database server in that case.

We simply open command line tool that we get for that db to connect with database .

But when I was reading about MongoDB , we first need to connnect to MongoDB server.
Can`t we just have MongoDB database on local machine .


 
best scout
Posts: 1294
Scala IntelliJ IDE Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi Mahtab,

there are indeed some embedded databases which work directly on files or something like this and don't use a server. But usually there IS some kind of server and that's true for Oracle and MySQL, too. Maybe you just didn't notice that because you used an installation utility which installed the database server transparently for you on your local machine as a Windows service or something like this.

With MongoDB there is no difference at all and of course it's fine to have a MongoDB server running on your local machine for development or testing purposes. Just because there is a "server" doesn't mean this server has to run on a different machine!

Marco
 
reply
    Bookmark Topic Watch Topic
  • New Topic