MacOS Intel : about to fork child process, waiting until server is ready for connections, ERROR: child process failed, exited with 1

Ok I managed !

I have created an empty directory ‘test’ in /usr/local/var/mongodb and after I run the command

mongod --dbpath /usr/local/var/mongodb/test --logpath /usr/local/var/mongodb/test/mongo.log --fork

and that works and I can connect normally in mongodb with mongosh, thanks !