I get the below error message when I use a used-to-be working connection string to connect to my Mongo DB on the server. This started happening after I upgraded my Compass from 1.25 v to 1.30 v. I had to upgrade because the export collection feature was not exporting all the fields from the document
Error message:
Server at localhost:27017 reports maximum wire version 5, but this
version of the Node.js Driver requires at least 6 (MongoDB 3.6)
Please help as I use this to generate reports to check the app usage and various other user activity reports
I was able to fix this by downgrading to version 1.29.5:
https://github.com/mongodb-js/compass/releases/tag/v1.29.5
Also, disable automatic updates by going to Help -> Privacy Settings to avoid this happening again.
It seems that there is a breaking change starting at MongoDB Compass v1.29.6.
https://github.com/mongodb-js/compass/releases/tag/v1.29.6
There's this line:
dependencies: bump driver to 4.2.1, mongosh to 1.1.6
My guess is that going from mongodb driver 4.1.0 to 4.2.1 had a breaking change - might be related to this:
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.