Mongo is unable to start

后端 未结 9 954
故里飘歌
故里飘歌 2020-12-28 08:58

I\'m trying to start mongo uin windows10 by type: mongo in cmd.

I am getting this error:

C:\\Users\\Itzik>mongo
MongoDB shell versio         


        
9条回答
  •  刺人心
    刺人心 (楼主)
    2020-12-28 09:34

    I also have faced the same problem. First i have typed mongodb in my command prompt ,It displays "waiting for connection on 27017" that means it is working. Then i type mongo in another Command prompt Window then above error occurred.

    I was having both .dll files in my xampp\php\ext folder. (php_mongo.dll and php_mongodb.dll) I deleted Php_mongodb.dll and also it's extension from php.ini file.

    Again restart command prompt,Type mongod and then mongo Now working correctly.

提交回复
热议问题