我可以在Command中执行Mongo
,但是我无法执行该命令以连接到mongoDB集群,并且
用mongoshell
问题出在哪里.....
Mongo地图集⇒集群连接⇒与mongo shell连接⇒mongo shell版本正确
⇒在命令行中运行连接字符串⇒
⇒mongo "mongodb+srv://xxxx.xxxxxxx/<dbname>" --username xxxxx
然后我有错误...
<dbname>
是什么?我必须做一个文件夹吗?在哪里?
FailedToParse: Database name cannot have reserved characters for mongodb:// URL: mongodb+srv://xxxxxxx/ try 'mongo --help' for more information