• support[@]kurinchilion.com
  • +1 (888) 666-4252

Blog

MongoError: authentication fail – when connecting from NodeJS

Oct 19, 2021 - by kurinchilamp /Mongo/ 303 Views
Check the connection string that is used for authenticating with MongoDB server. When trying to connect with MongoDB Compass connection may be working and it might fail when connecting via NodeJS code. Check if authSource parameter and the ssl param are properly set. Sample MongoDB URI that works on NodeJS connection setup is shown below: MONGO_URI=mongodb://USER:Password@localhost:27017/SampleDatabase?authSource=admin&readPreference=primary&directConnection=true&ssl=false
Continue Reading

How to create SSH tunnel and connect to the remote mongo database via command line?

Jul 30, 2021 - by kurinchilamp /Mongo/ 456 Views
Command to establish the SSH Tunnel to MongoDB on remote server $ ssh -L :27018:127.0.0.1:27017 -i /path/serverkey.pem remoteserverUSER@remoteserverIP -N -v -v (more…)
Continue Reading

How to setup MongoDB 5 on Ubuntu 20?

Jul 29, 2021 - by kurinchilamp /Mongo/ 341 Views
MongoDB known as Mongo, is an open-source document database that is used in a wide variety of modern online applications. It is categorised as a NoSQL database because it does not use the usual table-based relational database structure. MongoDB uses JSON-like documents with dynamic schemas, which implies that, unlike relational databases, MongoDB does not require a schema to be defined before data can be added to a database. You can alter the schema whenever and as frequently as you want without having to build a new database with the revised structure. MongoDB package available in Ubuntu is not managed by MongoDB and we will follow the steps below to install a version managed by MongoDB (more…)
Continue Reading

TECHNOLOGY DEV STACK

Following are some of the technologies that we use to build and maintain solutions for our clients.