[SERVER-33507] access error when connect to MongoDB database Created: 27/Feb/18  Updated: 21/Mar/18  Resolved: 27/Feb/18

Status: Closed
Project: Core Server
Component/s: Admin
Affects Version/s: None
Fix Version/s: None

Type: Bug Priority: Major - P3
Reporter: Guo Xiaohan [X] Assignee: Kelsey Schubert
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Attachments: PNG File picture 1.png    
Operating System: ALL
Participants:

 Description   

I accidentally delete the ./data/db directory in my Linux system. After I create a new db directory, I attempt to connect to the db. However, it occurs to be some access errors (picture 1) although I didn't specify the --auth option.
Actually, I didn't know where if I can delete the USER "website@admin", and create a new user without connecting to the db. If the above operations are not available, how to solve this issue?
Thanks a lot!



 Comments   
Comment by Kelsey Schubert [ 27/Feb/18 ]

Hi Jeremy Guo,

Thanks for your report. Please note that the SERVER project is for reporting bugs or feature suggestions for the MongoDB server. For MongoDB-related support discussion please post on the mongodb-user group or Stack Overflow with the mongodb tag. A question like this involving more discussion would be best posted on the mongodb-users group.

Kind regards,
Kelsey

Comment by Guo Xiaohan [X] [ 27/Feb/18 ]

It turns out to be the problem that, I may delete the admin user. I've searched for this issue on internet. However all of those solutions need connection to db and create user, but I can't connect to the db now.

Generated at Thu Feb 08 04:33:37 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.