PMXBOT Log file Viewer

Help | Karma | Search:

#mongodb logs for Thursday the 13th of February, 2020

(Back to #mongodb overview) (Back to channel listing) (Animate logs)
[13:17:04] <Haris> hello all
[13:17:43] <Haris> I created a db, created a user with dbAdmin role. I authenticated to it via mongo cli shell. but when I run db.firstcollection.find() I get error for being not authorized?
[13:19:39] <Haris> this is 4.2.3
[13:21:30] <Haris> https://pastebin.com/raw/XgXT3hQy
[13:27:06] <Haris> guys, anyone around?
[13:27:11] <Haris> Google search is not much help with this
[13:34:11] <Haris> isn't dbAdmin role enough to do anything in a certain db in mongo 4.2.3?
[13:39:57] <Haris> dbAdmin role doesn't do it. but dbOwner role makes it ok
[13:42:40] <Haris> guys, anyone around?
[13:43:08] <Haris> now, when I run auth and exec commands on mongo cli/shell, it works. but when I run connect to it through laravel/lumen, it says auth error
[13:51:55] <Haris> done
[13:52:05] <Haris> wrong credentials mentioned in code :|
[13:52:06] <Haris> thank you all