Home > AI > Database > MongoDB >

restart mongoDB

Mac

$ brew services list
$ brew services stop mongodb
$ brew services start mongodb

CentOS

$ sudo service mongod stop
$ sudo service mongod start

Leave a Reply