setParameter=enableLocalhostAuthBypass=1,設(shè)置無(wú)效
"errmsg" : "not authorized on admin to execute command { listDatabases: 1.0 }", 我照視頻來(lái)學(xué) 設(shè)置了setParameter=enableLocalhostAuthBypass=1,然后mongo localhost:28001連接成功,執(zhí)行show dbs命令時(shí)怎么提示如上面的無(wú)權(quán)錯(cuò)誤 我的mongodb版本3.4.4,安裝在centos7下,請(qǐng)老師給予回復(fù)
2017-08-22
我看視頻上是 使用localhost 登錄的,如果你使用的是本機(jī)ip的話,是不行的!不知道能不能幫助你??!