Mongodb: Failed to connect to 127.0.0.1:27017, reason: errno:10061

后端 未结 17 2254
醉话见心
醉话见心 2020-11-29 19:12

Here is my mongod.cfg file:

bind_ip = 127.0.0.1
dbpath = C:\\mongodb\\data\\db
logpath = C:\\mongodb\\log\\mongo-server.log
verbose=v

17条回答
  •  孤街浪徒
    2020-11-29 19:47

    If it writes that you had not properly shut down or that mongod.lock is not empty , only delete mongod.lock from C:\data\db\ and it will start.

提交回复
热议问题