Schrödingers MySQL table: exists, yet it does not

后端 未结 11 1857
野趣味
野趣味 2020-11-29 23:47

I am having the weirdest error of all.

Sometimes, when creating or altering tables, I get the \'table already exists\' error. However, DROP TABLE returns \'#1051 - u

11条回答
  •  野趣味
    野趣味 (楼主)
    2020-11-29 23:57

    I ran into this error after I created a table and deleted it, then wanted to create it again. In my case, I had a self-contained dump file so I dropped my schema, recreated it and imported tables and data using the dump file.

提交回复
热议问题