Code Monkey home page Code Monkey logo

Comments (4)

guo-yu avatar guo-yu commented on June 10, 2024

具体错误是什么呢?
顺便贴一下数据库配置的写法~

from candy.

sbyinin avatar sbyinin commented on June 10, 2024

[Fri Jun 06 2014 22:50:56]
[Fri Jun 06 2014 22:50:56]
at process._tickCallback (node.js:415:13)
at net.js:441:14
at Socket.EventEmitter.emit (events.js:95:17)
at Socket. (/home/bae/app/node_modules/express-scaffold/node_modules/mongoose/node_modules/mongodb/lib/mongodb/connection/connection.js:533:10)
at EventEmitter.emit (events.js:98:17)
at null. (/home/bae/app/node_modules/express-scaffold/node_modules/mongoose/node_modules/mongodb/lib/mongodb/connection/connection_pool.js:150:15)
at EventEmitter.emit (events.js:106:17)
at null. (/home/bae/app/node_modules/express-scaffold/node_modules/mongoose/node_modules/mongodb/lib/mongodb/connection/server.js:546:74)
Error: failed to connect to [mongo.duapp.com:8908]
^
throw er; // Unhandled 'error' event
events.js:72
js-bson: Failed to load c++ bson extension, using pure JS version
Failed to load c++ bson extension, using pure JS version
[Fri Jun 06 2014 22:50:23]
[Fri Jun 06 2014 22:50:23]

"database": {
"name": "wuWFrNoE**",
"host": "mongo.duapp.com",
"port": "8908",
"options": {
"user": "Injgj0bOpZPo**",
"pass": "Bq48ujk0osBm8S**"
}
},

本地测试时连接本地数据库正常。

from candy.

sanddudu avatar sanddudu commented on June 10, 2024

#40 目前数据库还不支持强制验证的连接

from candy.

guangliang2014 avatar guangliang2014 commented on June 10, 2024

应该如何解决? 有方法没,分享下。谢谢

from candy.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.