# d4m โ€” What's different from MongoDB

Default credentials: admin / password on admin db, SCRAM-SHA-256, role root
Users scoped to creation DB โ†’ use ?authSource=admin in URI if user is in admin
Default user re-salted on every restart โ†’ reconnect fresh

maxWireVersion: 21 (MongoDB 8.0+)
hello/isMaster: must echo clientConnectionId back, else GUI tools break on reconnect
Logs: ./logs/d4m-debug.log (hardcoded)

pymongo 4.17+: C-level encoder strips $-prefixed keys in arrays โ†’ use mongosh/raw BSON for aggregates

# Not implemented โ€” avoid these:

Transactions, change streams, replica sets, sharding, sessions
TTL/text/geo indexes, $where, mapReduce, server-side JS
$bucket, $bucketAuto, $graphLookup, $geoNear, $merge