简体   繁体   English

#1932 引擎中不存在表 'tablename'

[英]#1932 table 'tablename' doesn't exist in engine

I have this problem with an table.我有一张桌子有这个问题。 i want to delete it and does not work我想删除它但不起作用

I tried to delete de .ibd file, them rename some frm file to the same name as te ibd to drop the table , does not work我试图删除 de .ibd 文件,他们将一些 frm 文件重命名为与 te ibd 相同的名称以删除表,不起作用

when i drop table, and then create it again, it gives me this error #1813 table space for table name still exist, please discart tablespace before import.当我删除表,然后再次创建它时,它给了我这个错误#1813 表名的表空间仍然存在,请在导入前丢弃表空间。 and if i try ti discard, says that nametable does not exist如果我尝试丢弃,则表示名称表不存在

I even tried to alter the table我什至试图改变桌子

I`m using xampp我正在使用 xampp

does anyone knwo how to fix this?有谁知道如何解决这个问题?

In my case, I solve this with: DROP TABLE IF EXISTS yourtablename, yourtablename, yourtablename;就我而言,我解决了这个问题: DROP TABLE IF EXISTS yourtablename, yourtablename, yourtablename; and reload the db backup.并重新加载数据库备份。

I use XAMPP in Osx,You can also see logs: tail /Applications/XAMPP/xamppfiles/var/mysql/yourFile.local.err我在 Osx 中使用 XAMPP,您还可以查看日志:tail /Applications/XAMPP/xamppfiles/var/mysql/yourFile.local.err

You can also remove .ibd, I use XAMPP:您也可以删除 .ibd,我使用 XAMPP: 在 MacOsx 中使用 XAMPP 命令

You should now work with your backup.您现在应该使用您的备份。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM