Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

MONGODB_URI和DB_NAME问题 #3

Closed
cao-gift opened this issue Jan 5, 2023 · 1 comment
Closed

MONGODB_URI和DB_NAME问题 #3

cao-gift opened this issue Jan 5, 2023 · 1 comment
Labels
question Further information is requested

Comments

@cao-gift
Copy link

cao-gift commented Jan 5, 2023

你好,我的是这种形式,?前面什么都没有,请问MONGODB_URI和DB_NAME分别是什么
mongodb+srv://XXX:XXX@cluster0.6wluorl.mongodb.net/?retryWrites=true&w=majority

@GC-ZF
Copy link
Owner

GC-ZF commented Jan 5, 2023

到你新建的数据库下,点Browse Collections,下面有这些数据库的名称,你应该只有一个数据库,多余那俩我自己用的。如果你也有好多张的话,找包含comment表的那个,例如我的是myfirstdatabase

image

image

@GC-ZF GC-ZF added the question Further information is requested label Jan 5, 2023
@GC-ZF GC-ZF closed this as completed Jan 5, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

2 participants