DROP TABLE IF EXISTS memos;
CREATE TABLE memos (
content varchar(32)
) DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
INSERT INTO memos (content) values ("Starting Groonga...");
INSERT INTO memos (content) values ("Started Groonga.");
INSERT INTO memos (content) values ("Starting Mroonga...");
ALTER TABLE memos ADD FULLTEXT INDEX content_index (content);
SHOW CREATE TABLE memos;
Table	Create Table
memos	CREATE TABLE `memos` (
  `content` varchar(32) DEFAULT NULL,
  FULLTEXT KEY `content_index` (`content`)
) ENGINE=Mroonga DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci
SELECT * FROM memos WHERE MATCH(content) AGAINST("groonga");
content
Starting Groonga...
Started Groonga.
DROP TABLE memos;
