DROP TABLE IF EXISTS memos;
SET NAMES utf8mb4;
CREATE TABLE memos (
content TEXT,
FULLTEXT INDEX (content)
) DEFAULT CHARSET=utf8mb4;
INSERT INTO memos VALUES ("Today is good day.");
INSERT INTO memos VALUES ("Tomorrow will be good day.");
INSERT INTO memos VALUES ("Today is fine.");
SELECT * FROM memos
WHERE MATCH (content) AGAINST ("*D+ today fi*" IN BOOLEAN MODE);
content
Today is fine.
DROP TABLE memos;
