DROP TABLE IF EXISTS diaries;
SET NAMES ujis;
CREATE TABLE diaries (
id int PRIMARY KEY,
title varchar(255),
FULLTEXT KEY title_index (title)
) DEFAULT CHARSET=ujis;
INSERT INTO diaries VALUES (1, "Hello");
INSERT INTO diaries VALUES (2, "欧丹");
INSERT INTO diaries VALUES (3, "少晃怀");
SELECT *
FROM diaries
FORCE INDEX (title_index)
WHERE MATCH (title) AGAINST ("少晃怀");
id	title
3	少晃怀
ALTER TABLE diaries DISABLE KEYS;
SELECT *
FROM diaries
FORCE INDEX (title_index)
WHERE MATCH (title) AGAINST ("少晃怀");
ERROR HY000: Can't find FULLTEXT index matching the column list
DROP TABLE diaries;
