分片集群必须按照一定的顺序启动:config serve,Shard ,Mongos(Route)
切换到D盘 cd d:/ cd Server/mongodb1/bin cd d:/MongoDB/Server/mongodb1/bin 切换到d盘 d: mongodb的启动与停止 net start mongodb net stop mongodb