Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我想通过C API从查询中获取崩溃的表列表。
我知道mysqlcheck --auto-repair --check --all-database命令和repair table db_name.table_namecli,但我不知道如何通过查询获取崩溃的表名。
mysqlcheck --auto-repair --check --all-database
repair table db_name.table_name
我只想通过查询获取表名,比如
select table_name from some_specific_db where status=crashed
有人知道吗?
show table status where comment like '%crash%';