search

Home  >  Q&A  >  body text

mongodb - flask-mongoalchemy 配置遇到问题



在启动flask服务器的时候会出现错误,mongodb的服务器也已经启动了。

淡淡烟草味淡淡烟草味2798 days ago766

reply all(2)I'll reply

  • 習慣沉默

    習慣沉默2017-05-02 09:21:37

    Already solved, I forgot to add the answer...
    MONGOALCHEMY_CONNECTION_STRING = 'mngodb://localhost:27017'
    No need to configure the library name here

    reply
    0
  • 我想大声告诉你

    我想大声告诉你2017-05-02 09:21:37

    Is it possible that your configuration file is not loaded

    reply
    0
  • Cancelreply