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.
我需要对 MySQL5 服务器上所有数据库中的所有表进行修复,因为我已经更新了 MySQL 全文搜索停用词文件。
有没有我可以运行的查询或命令来执行此操作?
是的,您只需要查询INFORMATION_SCHEMA. STATISTICS桌子:
INFORMATION_SCHEMA
STATISTICS
SELECT TABLE_SCHEMA, TABLE_NAME FROM information_schema.statistics WHERE index_type LIKE 'FULLTEXT%'