V2EX = way to explore
V2EX 是一个关于分享和探索的地方
Sign Up Now
For Existing Member  Sign In
josephok
V2EX  ›  问与答

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

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