GithubHelp home page GithubHelp logo

数据库连接出错 about candy HOT 6 OPEN

guo-yu avatar guo-yu commented on September 25, 2024
数据库连接出错

from candy.

Comments (6)

guo-yu avatar guo-yu commented on September 25, 2024

似乎是 connect-mongo 创建 session collection 时出的问题,试试把 configs.json 中的配置项 session 删除,或者将 seession.store 设置为 false

from candy.

cnhacktnt avatar cnhacktnt commented on September 25, 2024

是的,经测试,将 session.store 改为 false 便运行成功了
但是这样会有什么不妥吗?

from candy.

guo-yu avatar guo-yu commented on September 25, 2024

@cnhacktnt 这样的话就不会持久化 session 了,用户关闭标签页之后就需要重新授权登录。

from candy.

cnhacktnt avatar cnhacktnt commented on September 25, 2024

这个 session 的问题是代码本身的问题还是我环境的问题?

from candy.

guo-yu avatar guo-yu commented on September 25, 2024

我这里运行是正常的 [email protected] 看了下和你那个版本应该是一样的。
感觉可能是权限问题,这个问题我之前没遇到过,先标记一下

from candy.

cnhacktnt avatar cnhacktnt commented on September 25, 2024

OK, 待解决了,我就过来 close, thanks!

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.