josephok
V2EX  ›  问与答

Django 显示"Table *** doesn't exist",但是数据库中是存在此表的。

  •  
  •   josephok · Jun 12, 2014 · 4074 views
    This topic created in 4555 days ago, the information mentioned may be changed or developed.
    何解??
    5 replies  •  2014-06-13 01:24:47 +08:00
    binux
    binux
    Jun 12, 2014
    1
    `table`
    crazybubble
    crazybubble
    Jun 12, 2014
    2
    是Mysql么?
    20150517
    20150517
    Jun 12, 2014
    3
    schema?
    josephok
    josephok
    OP
    Jun 12, 2014
    4
    @crazybubble 是。重新建表后又可以了。改天弄个究竟
    crazybubble
    crazybubble
    Jun 13, 2014
    5
    @josephok Mac下我有时也会遇到这样的情况,mysql命令行进去找某个table,昨天还在的今天就说doesn't exist了,后来发现重启一下mysql就好了。大概是休眠造成的。
    参考: http://stackoverflow.com/a/21728211/785561
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Privacy   ·   Solana   ·   3502 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 29ms · UTC 01:01 · PVG 09:01 · LAX 17:01 · JFK 20:01
    ♥ Do have faith in what you're doing.