mysql - 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 是否存在某些表
解决方案
推荐阅读
- c# - 将 DateTimeOffset - UTC 转换为 LocalTime (CurrentCulture)
- node.js - 计时器到期时禁止或踢(Discord.js)
- firebase - Firestore,startAfter 和 startAfterDocument 的区别
- python - QuantLib 中 FixedRateBond 的 exCoupon 期限
- flutter - 第一次双击时未触发 onDoubleTap
- java - 将 ObservableList 绑定到 TreeTableView 项
- javascript - JS:找到下一个可用游戏的天数的有效算法
- .htaccess - 将所有 URls 重定向到文件夹内的文件,即使 URL 为空
- flutter - Flutter web 404在apache上没有哈希没有htaccess
- javascript - 缩小页面混乱对齐