Open v-xianya opened 5 years ago
@v-xianya Try checking your mongod --version
and mongo --version
to see if those numbers match up. You may have updated your shell, not the server
@wwlorey This issue also reproduces on the latest build 20200423.10. MongoDB version is consistent with the db version.
Even if your local mongo version is 4.2.0, mongo will default to the version associated with the given connection string when starting the shell. It makes sense that your result was 3.2.0 since that's the version of your mongo account in Azure (that's the default version we create in the extension)
@wwlorey As we talked in the teams, reopen this issue. Mongo DB Version: 4.4.4 Mongo DB Account Version: 3.6.0
In the OGF, the expect result of executing "db.version()" is the version of mongo.exe. Now, the result of executing "db.version()" is the version of Mongo DB Account. I am confused which result should be?
OS: Windows Build Version: 20190928.1
Repro Steps:
Expect: Display '4.2.0'.
Actual: Display '3.2.0'.