1. Introduction
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.
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
withrobomongo=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.
And what are the starting user credentials?
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
Hi, thanks for this tutorial, the ssl is necessary??
Cheers
I would advice using the SSL versions, as intended by the Laragon developer.