LARAGON – Add MongoDB

1. Introduction

By default Laragon, comes with MySQL installed. But adding MongoDB is easy.

Use Laragons build-in Quick Add option to install MongoDB.

2. Notice

Be sure your Windows 10 (64 bit) OS has the latest Visual C++ Redistributable for Visual Studio 2015-2019 installed.

3. What about the data?

This procedure will install MongoDB into your Laragon installation. 
A new folder \LARAGON\data\mongodb\ wil be created.
It will not touch the existing MySQL or MariaDB databases.

Because MySQL/MariaDB uses port 3306 and MongoDB uses port 27017, both database systems can coexist at the same time. This means you can export and import your data to migrate between database systems.

4. Laragon - Add MongoDB

  • Go to MongoDB Downloads.
  • Then rightclick the win32/mongodb-win32-x86_64-2008plus-ssl-v4.0-latest.zip version and select Copy hyperlink.
  • In the Tools section, select Quick Add → Configuration. This will open the file \LARAGON\usr\packages.conf for editing.
  • Change the line mongodb-4=https://fastdl.mongodb.org/win32/mongodb-win32-x86_64-2008plus-ssl-4.0.3.zip by replacing the hyperlink after the “=” sign with the hyperlink you previously copied from the MongoDB Downloads page.
  • Remove any “#” sign at the beginning of the line.
  • The result should look like mongodb-4=http://downloads.mongodb.org/win32/mongodb-win32-x86_64-2008plus-ssl-v4.0-latest.zip.
  • Save and close the file.
  • In the Tools section, select Quick Add → mongodb-4.
  • Wait for the installer to finish.
  • Laragon has now placed MongoDB in the folder \LARAGON\bin\mongodb\
  • Laragon has added MongoDB to its menu.
  • In the Laragon Button Menu, click on the Start All button.
  • Laragon has now created a new data folder \LARAGON\data\mongodb\

5. Laragon - Add Robo 3T (former RoboMongo)

  • In the Tools section, select Quick Add → Configuration. This will open the file \LARAGON\usr\packages.conf for editing.
  • Change the line robomongo=https://download.robomongo.org/1.2.1/windows/robo3t-1.2.1-windows-x86_64-3e50a65.zip with robomongo=https://download.studio3t.com/robomongo/windows/robo3t-1.4.3-windows-x86_64-48f7dfd.zip.
  • Remove any “#” sign at the beginning of the line.
  • Save and close the file.
  • In the Tools section, select Quick Add → robomongo.
  • Wait for the installer to finish.
  • Laragon has now placed Robo 3T in the folder \LARAGON\bin\robo3t\
  • Laragon has added Robomongo to its menu.
  • Click Robomongo to start the application.
  • Accept the EULA and click Finish.
  • Click Connect.
  • You can now start working with Robo 3T to manage your RoboMongo database.

4 Comments

    • Hi,

      By default MongoDB has no enabled access control, so there is no default user or password.
      To enable access control, use either the command line option –auth or security.authorization configuration file setting.
      Consult the MongoDB documentation.

      Kind regards.

      Marc

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.