前期准备:

create table T9(A int ,B text,C text,fulltext index fix_test_for_T8_B(B));#在定义表的时候加索引

create unique index ix_test_for_T8_A on T9(A);#加朴素索引

create fulltext index fix_test_for_T8_C on T9(C);#加全文索引

------------------------------------------------------------

解决办法:

select index from table_name。

-------------------------------------------------------------------------------------------------------------------------------------------

select index from T9;

MYSQL 查看表上索引的 1 方法-LMLPHP

04-25 20:53