Win a copy of Practice Tests for OCP Java 17 Certification Exam (1Z0-829) this week in the OCPJP forum!
  • 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:
  • Tim Cooke
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Liutauras Vilda
Sheriffs:
  • Rob Spoor
  • Junilu Lacar
  • paul wheaton
Saloon Keepers:
  • Stephan van Hulst
  • Tim Moores
  • Tim Holloway
  • Carey Brown
  • Scott Selikoff
Bartenders:
  • Piet Souris
  • Jj Roberts
  • fred rosenberger

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
 
pie. 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
reply
    Bookmark Topic Watch Topic
  • New Topic