Mongosh using mongodb version 4.4.5 even though I installed mongodb-community@5.0

mongosh is using mongodb version 4.4.5 even though I have installed mongodb-community@5.0. As a result I am unable to create timeseries collection (which is avaiable only in version 5.0). I am trying this on my mac. Any pointers?

MongoServerError : BSON field ‘create.timeseries’ is an unknown field.

I found the issue. There was an old mongo process running which belonged to old mongodb version. After killing that and reinstalling new version, it worked.

1 Like

This topic was automatically closed 5 days after the last reply. New replies are no longer allowed.