문제

If I try

select * from my_table 

I get:

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

but

show tables

contains this table in the list.

I tried:

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

but also get

Table 'my_table' doesn't exist in engine

Database version:

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

I checked /var/lib/mysql/mydatabase – *.frm and *.ibd for certain tables exist

UDPATE: I tried this query:

select * from innodb_table_stats
Table 'mysql.innodb_table_stats' doesn't exist in engine

올바른 솔루션이 없습니다

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 dba.stackexchange
scroll top