MongoDB查询不到数据库内容
启动了服务之后再命令行里输入了use node_pro(我把名字改了),db.movies.find({}),提示的是一下内容,请问老师在这一步下弹出的那些数据应该在哪里查看?在代码里并没有相关的内容啊?
以下,是输入命令提示的文字
D:\MongoDB\bin>mongo
MongoDB shell version: 3.0.6
connecting to: test
Welcome to the MongoDB shell.
For interactive help, type "help".
For more comprehensive documentation, see
http://docs.mongodb.org/
Questions? Try the support group
http://groups.google.com/group/mongodb-user
> use node_pro
switched to db node_pro
2017-04-01T15:16:12.127+0800 I NETWORK Socket recv() errno:10053 你的主机中 的软件中止了一个已建立的连接。 127.0.0.1:27017
2017-04-01T15:16:12.127+0800 I NETWORK SocketException: remote: 127.0.0.1:27017 error: 9001 socket exception [RECV_ERROR] server [127.0.0.1:27017]
2017-04-01T15:16:12.127+0800 I NETWORK DBClientCursor::init call() failed
> use node_pro
switched to db node_pro
> db.movies.find()
2017-04-01T15:16:36.341+0800 I NETWORK trying reconnect to 127.0.0.1:27017 (127.0.0.1) failed
2017-04-01T15:16:36.342+0800 I NETWORK reconnect 127.0.0.1:27017 (127.0.0.1) ok
> db.movies.find()
> use node_pro
switched to db node_pro
> db.movies.find()
> db.movies.find({})
> use node_pro
switched to db node_pro
> db.movies.find({})
>