It means that MongoDB has been started and its default port (27017) is not occupied. It looks like you are trying to access MongoDB over HTTP on the native driver port.ģ. Mongod.exe –dbpath “E:\Program Files\MongoDB\Server\4.0\data\db”Īt this point, MongoDB has been started, the browser accesses and the output on the page is: MongoDB can be started by explicitly specifying the directory as the storage location using - dbpath “Installation directorydatadb”, such as: If it is started directly, the actual use is C: data db\ to store directories for database files, and it needs to be ensured that the directory exists. config) under the log folder.Īt startup, the mongod.exe under the installation directory bin is used. config (installation directory log mongo. Create a DB directory under the installation directory data as a standby directory of the installation directory data and create a new file mongo. MongoDB has just been installed under E: Program Files MongoDB Server 4.0\ and is later referred to as the installation directory.Ĭonfigure and open from the standby path (not to do)ġ. We must not change it here, directly next, otherwise we can’t change it back.Ĭancel the check here, do not install graphical tools, otherwise the time is very long.Īfter installation, the file directory is as follows There is something wrong with this MSI file. You can download the required version directly here, and you can select the MSI installation file directly to install it under Windows.Īfter downloading, follow the same next step and select the custom option in the middle step to select your preferred installation location. You can download the Community Server version on MongoDB’s official website, but it often seems unresponsive. Download the latest installation files on the official websiteĭownload address: /download-center#community
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. Archives
December 2022
Categories |