7
升级到Mac OS 10.15(Catalina)后,MongoDB找不到数据目录
我今天更新到了MacOS 10.15(Catalina)。当我mongod在终端中运行时,找不到/data/db目录: ➜ /Users/william > mongod 2019-10-08T17:02:44.183+0800 I CONTROL [main] Automatically disabling TLS 1.0, to force-enable TLS 1.0 specify --sslDisabledProtocols 'none' 2019-10-08T17:02:44.209+0800 I CONTROL [initandlisten] MongoDB starting : pid=43162 port=27017 dbpath=/data/db 64-bit host=Williams-MacBook-Pro-6.local 2019-10-08T17:02:44.209+0800 I CONTROL [initandlisten] db version v4.0.3 2019-10-08T17:02:44.209+0800 I CONTROL [initandlisten] git version: 7ea530946fa7880364d88c8d8b6026bbc9ffa48c 2019-10-08T17:02:44.209+0800 I CONTROL …