手动关闭服务后 show dbs 查不到自定义的数据库了
错误过程
1.系统启动mongon服务自动加载,在shall中用 show dbs 可以正常查询自定义库 foo
2.我在shall中使用 db.shutdownServer() 关闭服务
3.然后命令行启动:mongod -dbpath "d:\mongo\db"
4.然事在shall中使用 show dbs 就看不到 foo 库了,只能看到三个系统库admin/config/local
我的系统是 win10, 新手上路,请大家多指教。