Win a copy of The Little Book of Impediments (e-book only) this week in the Agile and Other Processes forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

How to put a mongoDB on my server host

 
David Edgar
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello everyone,

I asked earlier a question about making my chat working on the internet instead of localhost, and the answer was "You would install the web app and the DB on your hosting server". But my hoster offers only (mysql and phpmyadmin). So how can I implement my chat Mongo DB on my host. Even in the Mongo documentation, I have not found a solution.

Thanks

David Edgar
 
Ulf Dittmer
Rancher
Posts: 42969
73
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
To use any DB you need to install it. If the hosting plan you currently have does not support the particular DB you intend to use, you need to find different hosting (or use a different DB - of course, non-relational DBs aren't as easy to replace as relational DBs).

(As an aside, please use the "Post Reply" button when asking follow-up questions instead of the "New Topic" button.)
 
chris webster
Bartender
Posts: 2407
33
Linux Oracle Postgres Database Python Scala
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Most consumer internet service hosts only offer mainstream SQL databases like MySQL or PostgreSQL.

If you want to host your app online using MongoDB, you could look at Heroku which provides application hosting services aimed at developers. You can opt for add-ons which include some MongoDB options, but you have to pay extra for these (the DB price will depend on how much data you want to host or transfer in/out).

Another option might be MongoLab which appears to offer MongoDB hosting, including a free basic service.

Alternatively, you could look at Amazon's various services which may allow you to run a VM including MongoDB to support your application. The services and pricing structures here are pretty complicated, so take your time to figure out what you need and what it will cost. Amazon does offer a free tier of services for an initial 12 month period which might be enough to meet your needs.

You probably need to look carefully at the various options and figure out how much you want/need to pay to get the right level of service for your needs.
 
David Edgar
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I will use Heroku. This service sound good.

Thank you for your help.

David
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic