# Mongodb compatibility for the server version

**URL:** <https://hub.mender.io/t/mongodb-compatibility-for-the-server-version/6799>\
**Category:** General Discussions\
**Created:** [May 7, 2024, 1:04am UTC](https://hub.mender.io/t/mongodb-compatibility-for-the-server-version/6799 "2024-05-07T01:04:52Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![jni](https://avatars.discourse-cdn.com/v4/letter/j/ecd19e/32.png) [@jni](https://hub.mender.io/u/jni)\
**Post date:** [May 7, 2024, 1:04am UTC](https://hub.mender.io/t/mongodb-compatibility-for-the-server-version/6799/1 "2024-05-07T01:04:52Z")

</div>

Hi,

I am running an old version of mender.  
image: ‘mendersoftware/deviceauth:2.0.0’  
image: ‘mendersoftware/deployments:1.7.0’

the managed mongodb server upgraded from 4.4.29 to 5.0.26. But mender isnt compatible with the version of mongo. I get this below error,

```auto
failed to connect to db: failed to open mgo session: server returned error on SASL authentication step: BSON field 'saslContinue.mechanism' is an unknown field.

```

I understand that upgrading mender is the way to go. but are there any interim solution to run mender with mongo version 5.0.26?

Thanks
