![]() T07:22:12.802+0200 W NETWORK Failed to connect to 127.0.0.1:27017, in(checking socket for error after poll), reason: Connection refused so trying to connect Mongo shell so that will connect the admin database but i am getting below error while trying to connect Mongo shell bin]# mongo I have created the Database as “Bibhu” but when i am trying to connect using same password which i setup that is not working. firstly we have to clean up potential remainders below script we ran to create the database. Thank you so much for your response, even i am trying to check the admin database to get further information about the password which we set earlier because what ever password we have set it up that is not working. login ~]# mongo -host 'ddaa205a:27017' -u admin -p -authenticationDatabase admin bibhu ~]# mongo -host ddaa205a -u admin -p -authenticationDatabase admin bibhuĬonnecting to: mongodb://ddaa205a:27017/bibhu Could you please suggest how can i get to know about my password of the database “bibhu” from admin database,could you please provide me exact command or process and next thing how can i change the password for the database “bibhu” so that will try to connect using the same. I have tried both the commands but it is saying authentication failed but, I am sure that i have given the same password. ![]() could you please suggest how can i check how the mongod is started. It is a standalone database.I am totally new to this environment that is why i am not sure how mongd is started.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |