MongoDB-compatible databases

Amazon DocumentDB, Azure Cosmos DB for MongoDB, FerretDB and other databases that speak the MongoDB protocol: what to expect.

Several databases implement the MongoDB wire protocol without being MongoDB. Oxys DB Studio may connect to them, because it speaks that protocol, but they are not tested. A command such a database does not implement fails with that database’s own error message; nothing is emulated.

Status

DatabaseStatus
MongoDB 4.2 to 8.0 (standalone, replica set, sharded, TLS)Tested on every release.
MongoDB 2.6 to 4.0Tested, with limits: see Older servers.
MongoDB AtlasConnections work as with any server (mongodb+srv://, TLS, SCRAM and X.509). Browsing clusters from an Atlas account is not available.
Amazon DocumentDBNot tested. May connect.
Azure Cosmos DB for MongoDBNot tested. May connect.
FerretDBNot tested. May connect.
Oracle Autonomous Database MongoDB APINot tested. May connect.

Connect to a compatible database

  1. Copy the connection string your provider gives you.
  2. Paste it in the New Connection wizard (URI or form).
  3. Check the SSL tab: many hosted services require TLS and sometimes their own root CA file (TLS/SSL).
  4. Test Connection, then Save.

Tips

  • If your provider requires retryWrites=false, untick Enable Retry Writes on the Advanced tab, or keep the option in the connection string.
  • Consider a Read-Only Lock while you check what works.

Troubleshooting

SymptomWhat to do
A view or tool shows an error naming an unsupported command, stage or optionThat database does not implement it. Other views keep working.
TLS errors with a hosted serviceDownload the provider’s CA bundle and choose it with Use own Root CA file.