MongoDB SRV

The mongo SRV connection string allow mongo clients to resolve the individual server names using DNS. If you need to debug connection problems or simply are curious about the hosts used, you find them by making DNS queries using dig or even https://dns.google.com/ The Connection Format mongodb+srv://USER:PASSWORD@CLUSTER.mongodb.net/DATABASENAME The replica set Read more…

MongoDB on Ubuntu 16.04

The mongodb package included by default in Ubuntu is usually behind. Follow these instructions to install verion 3.4 from the mongodb repo. Install from MongoDB repo Import the public key used by the package management system sudo apt-key adv –keyserver hkp://keyserver.ubuntu.com:80 –recv 0C49F3730359A14518585931BC711F9BA15703C6 Create a list file for MongoDB echo Read more…