错误提示:
Ubuntu Error:couldn't to server 127.0.0.1:27017 at src/mongo/shell/mongo.js:145
检查终端的命令:
/Apps/mongo/bin/mongod --dbpath=/data/db/ -logpath=/data/log/mongodb.log
注:中间没有不必要的空格!
再打开一个终端(之前的终端也必须开着)
命令:
/Apps/mongo/bin/mongo
进去编辑模式,则成功!
mongoDB启动Error: couldn‘t connect to server 127.0.0.1:27017:http://www.linuxdiyf.com/linux/17187.html
ubuntu mongodb报错:mongo - couldn‘t connect to server 127.0:http://www.linuxdiyf.com/linux/15208.html