Getting DatabaseException 'not allowed for query on db.collection' (code = 13) after mongo3 update

I use free MongoLab, and my database was upgraded to Mongo 3 on the weekend, and now my client will not connect. I keep getting "not allowed for query on db.collection". mistake.

Mongolab says I should use a compatible Mongo 3 driver ( http://docs.mongodb.org/manual/release-notes/3.0-compatibility/#driver-compatibility-changes ). I am using the scala ReactiveMongo client, version 0.11.7, which should support Mongo 3.

+4
source share
1 answer

, "? authMode = scram-sha1 & rm.tcpNoDelay = true" URI .

mongodb://user:password@host.mongolab.com:port/db?authMode=scram-sha1&rm.tcpNoDelay=true

+6

Source: https://habr.com/ru/post/1610348/


All Articles