MongoDB failed to start and the service name is invalid


Open cmd in administrator mode, cd to the bin directory, and run: mongod --config "D:\MongoDB\server\3.4\mongo.conf" --install --serviceName "MongoDB" Run again: net start MongoDB

Guess you like

Origin blog.csdn.net/qq_41358110/article/details/104405091