Upgrading Your MongoDB
This morning, I got the notification that MongoDB 1.2.3 was released. Nice!
Unfortunately, I’ve been carrying around my Lenovo ThinkPad X200 running Ubuntu 9.10 since the New Year and completely forgot to update my MBP. It was still running 1.0! When you upgrade from very old version as I did, you’ll be greeted with an error message. What do you do? It’s dead simple, just do the following:
mongod --dbpath
That’s all there’s to it. You can go and upgrade every db files you have.