DROP TABLE IF EXISTS memos;
SET NAMES utf8;
CREATE TABLE memos (
id INT PRIMARY KEY AUTO_INCREMENT,
content TEXT,
FULLTEXT INDEX (content)
) DEFAULT CHARSET=utf8 COMMENT='engine "InnODB"';
INSERT INTO memos VALUES (NULL, "Today is good day.");
INSERT INTO memos VALUES (NULL, "Tomorrow will be good day.");
INSERT INTO memos VALUES (NULL, "Today is fine.");
SELECT * FROM memos
WHERE MATCH (content) AGAINST ("*D+ today -good is" IN BOOLEAN MODE);
id	content
3	Today is fine.
DROP TABLE memos;
