未显示使用Node JS和MongoDB Atlas创建的数据库

not appearing the created database using node js with mongodb atlas

提问人:Shíva Dasari 提问时间:11/14/2023 更新时间:11/14/2023 访问量:15

问:

我正在使用节点 JS 连接 Mongo DB 图集,实际上数据库已连接,创建的数据库名称与连接链接一起给出,但 mongo Db 图集没有任何更改,其中创建的数据库名称和文档未出现在 mongo DB 图集中

我尝试在mongo DB atlas中创建新用户并重新尝试连接,但mongo db atlas没有变化 [连接URI] [数据库连接]
[DB 连接] mongo DB atlas 没有变化
(https://i.stack.imgur.com/fmcgZ.png)(https://i.stack.imgur.com/mXCgO.png)(https://i.stack.imgur.com/O2RT1.png)

我希望使用 Node js 将服务器与 mongo DB atlas 连接起来

Node.js Express 猫鼬 服务器

评论

0赞 jQueeny 11/15/2023
请不要发布您的代码图像,因为。只需将代码复制到您的问题中,即可创建最小的可重现示例。最后,不要将敏感数据(如数据库用户名、密码、集群地址)放在 SO 上。

答: 暂无答案