通過brew安裝好mongdb后,設(shè)置了/usr/local/etc/mongod.conf里面的內(nèi)容如下systemLog:destination:filepath:/Users/zyj/database/log/mongodb/mongo.loglogAppend:truestorage:dbPath:/Users/zyj/database/mongodbjournal:enabled:truenet:bindIp:127.0.0.1port:27017然后啟動命令行輸入mongod,然后顯示exceptionininitAndListen:29Datadirectory/data/dbnotfound.,terminating請問如何自定義數(shù)據(jù)庫路徑
如何自定義mongodb的路徑
回首憶惘然
2019-05-25 15:03:57