0
我試圖通過sails-mongo配置SailsJS中的MongoDB連接,但無論如何配置它,我都會收到此錯誤。[SailsJS/sails-mongo] SNI名稱
MongoError: no SNI name sent, make sure using a MongoDB 3.4+ driver/shell.
你能幫助我嗎?
我試圖通過sails-mongo配置SailsJS中的MongoDB連接,但無論如何配置它,我都會收到此錯誤。[SailsJS/sails-mongo] SNI名稱
MongoError: no SNI name sent, make sure using a MongoDB 3.4+ driver/shell.
你能幫助我嗎?
答案出現在錯誤消息中。您使用的是3.4版本的驅動程序。 v3.2或v3.3不會將正確的信息發送到v3.4服務器實例。
請添加您的連接配置esp'host'字段。 – Sangharsh
devMongodbMLAB:{ 適配器: '帆-蒙戈', 主機: 'ds111940.mlab.com', 端口:11940, 用戶: '****', 密碼: '****', 數據庫:'texleech' }, – EzeTeja