mongo-java-driver how to create mongo's user on doesn't exists database yet

后端 未结 0 1435
心在旅途
心在旅途 2021-02-12 10:09

Can i create the first user on mongodb by mongo-java-driver? i tried but got this error.

com.mongodb.CommandFailureException: { "serverUsed" : "loc         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题