需要自己建立db目錄作為資料庫環境,在命令列視窗中輸入 $ md \data\db ... mongoose.connect('mongodb://user:pass@ip:port/database');.
確定! 回上一頁