What is the difference in the way mongodb starts?

Mode 1: mongod Command
Mode 2: brew services start mongodb Command start

what"s the difference between the two ways of starting? why are there two ways?

Feb.27,2021

makes no difference, the instruction to start the mongo server is mongod. Brew simply encapsulates it, which can be understood as service, on linux

MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1e8ade0-1010.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1e8ade0-1010.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?