首页 > 解决方案 > MySQL:引擎中不存在表“my_table”

问题描述

如果我尝试

select * from my_table 

我得到:

"Table 'my_table' doesn't exist in engine"

show tables

在列表中包含此表。

我试过了:

mysqlcheck -u root -p --check --all-databases

但也得到

Table 'my_table' doesn't exist in engine

mysql版本:

Ver 15.1 Distrib 10.4.11-MariaDB, for Linux (x86_64) using readline 5.1

我检查了 /var/lib/mysql/mydatabase - *.frm 和 *.ibd 是否存在某些表

标签: mysql

解决方案


推荐阅读