MongoDB win10安装报错
I CONTROL [main] Automatically disabling TLS 1.0, to force-enable TLS 1.0 specify --sslDisabledProtocols ‘none’
解决办法:
Windows Service Control Manager options:
–install install mongodb service
–remove remove mongodb service
–reinstall reinstall mongodb service (equivilant of mongod
–remove followed by mongod --install)
–serviceName arg windows service name
–serviceDisplayName arg windows service display name
–serviceDescription arg windows service description
–serviceUser arg user name service executes as
–servicePassword arg password used to authenticate serviceUser
需要在serviceName 后面添加 arg
Windows不能在本地计算机启动MongoDB,服务错误代码 100
不能同时开启两个MongoDB服务,需要把另外一个关闭