![]() ![]() give mongo permisions: ‘sudo chown YourMacUserName /data/db’ĥ.cd into the new directory just created above: ‘cd /data/db’.make a new directory: ‘sudo mkdir -p /data/db’.cd into your local folder: ‘cd /usr/local/mongodb’.In case you have problems with permissions on the default folder then you can follow these steps: Solution for setting permissions on /data/db The error message show that de dbpath needs to be set in the commandline or that the storagepath needs to be set in the configuration file. Checking the result of the command ‘mongod’ gave that MongoDB didn’t have right permissions. This shows that MongoDB isn’t able to make a connection. Installed version of MongoDB Compass ( )Īfter installing MongoDB 4.4 Community Edition ( ) and trying to run MongoDB in terminal with the command ‘mongo’ I received the following error message:. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |