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

后端 未结 11 1880
野趣味
野趣味 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条回答
  •  慢半拍i
    慢半拍i (楼主)
    2020-11-30 00:10

    This is an old question but I just hit the same issue and an answer in one of the related issues linked at the top was just what I needed and far less drastic than deleting files, tables, shutting down the server etc.

    mysqladmin -uxxxxxx -pyyyyy flush-tables
    

提交回复
热议问题