服务启动报错: error2: system can not find the file specified.
solution:
安装服务的时候, 你需要用 mongod.exe的 full path
C:\mongodb-win32-i386-1.8.2\bin\mongod.exe --logpath c:\mongo
db\logs\mongo.log --dbpath c:\mongodb\data\db --directoryperdb --install
to remove service
C:\mongodb-win32-i386-1.8.2\bin\mongod.exe --logpath c:\mongo
db\logs\mongo.log --dbpath c:\mongodb\data\db --directoryperdb --remove
and re open windows service windows, the original service will gone.
另外,use 1.8.2 is better than 1.8.1, I have issue when install 1.8.1
新增加:
发现在windows 下面,最简单就是自己写一个 bat脚本,不要用windows的服务,很不稳定的。
脚本只有两行:
del D:\mongo\data\mongod.lock
mongod.exe --logpath d:\mongo\logs --logappend --dbpath d:\mongo\data
分享到:
相关推荐
MongoDB 5.0.6 windows版本
MongoDB Community Server(mongodb-windows-x86_64-5.0.8-signed.msi)适用于RedHat / CentOS 7.0 MongoDB是一个基于分布式文件存储的数据库。由C++语言编写。旨在为WEB应用提供可扩展的高性能数据存储解决方案。 ...
mongodb启动加入windows服务
最新版windows mongodb-windows-x86_64-5.0.1-signed.msi最新版windows mongodb-windows-x86_64-5.0.1-signed.msi
MongoDB window 安装包,mongodb-windows-x86_64-4.4.0-signed.msi,免除下载速度慢的烦恼!
mongodb-windows-64mongodb-windows-64mongodb-windows-64
mongodb-windows-x86_64-6.0.5最新稳定版本,压缩包解压直接使用。
mongodb-windows-x86_64-7.0.5-signed.msi 数据库构建工具
最新版windows mongodb-windows-x86_64-4.4.1-signed.msi最新版windows mongodb-windows-x86_64-4.4.1-signed.msi
MongoDB Community Server(mongodb-windows-x86_64-5.0.4-signed.msi)适用于Windows MongoDB是一个基于分布式文件存储的数据库。由C++语言编写。旨在为WEB应用提供可扩展的高性能数据存储解决方案。 MongoDB是一个...
MongoDB Community Server(mongodb-windows-x86_64-5.0.4.zip)适用于Windows MongoDB是一个基于分布式文件存储的数据库。由C++语言编写。旨在为WEB应用提供可扩展的高性能数据存储解决方案。 MongoDB是一个介于...
mongodb Windows7 64位
mongodb安装包 解压后直接安装使用即可
最新版windows mongodb-windows-x86_64-5.0.2-signed.msi最新版windows mongodb-windows-x86_64-5.0.2-signed.msi
mongodb-windows-x86_64-5.0.3-signed.msi,官网下载实在是太慢了,我下载了几天,老是中断,今天终于下载好了
MongoDB 4.3.5win64MSI安装包,官网下载速度很慢 mongodb-windows-x86_64-4.3.5-signed.msi
mongodb-windows-x86_64-5.0.2.zip
mongodb数据库安装包 windows
mongodb-windows-x86_64-4.4.0-signed
mongodb 3.6 版本 2018-03-29更新 mongodb-win32-x86_64-2008plus-ssl-v3.6-latest-signed.msi