Home > mongodb, python > MongoHQ: a hosted database solution for MongoDB

MongoHQ: a hosted database solution for MongoDB

MongoHQ is the hosted database solution for getting your applications up and running on MongoDB, fast. From our free shared plans to custom dedicated solutions, we can handle all the different levels of your data layer.” (source)

At MongoHQ you can have a MongoDB database with size up to 16MB for free. If you want more, you gotta pay :) Here is their pricing.

Let’s see the free solution. Register and create a sample database called “mydb” for instance. Create a database user under the “database users” tab by specifying its name and password. You can create several users and a user can have read-only privileges too. Under the “database info” tab, you’ll get the URI of the database, which looks similar to this:


Using PyMongo, you can connect like this:

c = Connection("mongodb://<username>:<password>@stuff.mongohq.com:10569/mydb")

Where the credentials are the database user’s username and password that you added under the “database users” tab.

Related posts

Categories: mongodb, python Tags:
  1. No comments yet.
  1. No trackbacks yet.

Leave a Reply

Please log in using one of these methods to post your comment:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: