将mongodb加入系统服务及其开启服务Error 193: 0xc1解决方法
1、cd到mongodb的bin目录下
2、输入命令
all output going to : mongodb 路径/logs/mongodb.logCreating service MongoDB.Service cretion successfulService can be started from the command line via 'net start "MongoDB"'
表示成功
PS:这个时候打开服务找到MongoDB 然后启动,如果报错 Error 193: 0xc1 只要删除mongodb/bin目录下的mongod即可(改文件隐藏,需要显示隐藏文件)