• 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 all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Ron McLeod
  • Paul Clapham
  • Bear Bibeault
  • Junilu Lacar
Sheriffs:
  • Jeanne Boyarsky
  • Tim Cooke
  • Henry Wong
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • salvin francis
  • Frits Walraven
Bartenders:
  • Scott Selikoff
  • Piet Souris
  • Carey Brown

Why there is a need of Mongo Server

 
Ranch Hand
Posts: 391
1
MySQL Database PHP Java
  • Mark post as helpful
  • send pies
  • 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
  • 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
 
A timing clock, fuse wire, high explosives and a tiny ad:
Building a Better World in your Backyard by Paul Wheaton and Shawn Klassen-Koop
https://coderanch.com/wiki/718759/books/Building-World-Backyard-Paul-Wheaton
    Bookmark Topic Watch Topic
  • New Topic