Rankings with InnoDB Full-Text Search_MySQL
-> idINTUNSIGNEDAUTO_INCREMENTNOT NULLPRIMARY KEY,
-> titleVARCHAR(200),
-> bodyTEXT,
-> FULLTEXT(title,body)
-> )ENGINE=InnoDB;
QueryOK,0rowsaffected
mysql>INSERTINTOarticles(title,body)VALUES('Test Article','blah blah blah'),("Matt's Noise",'this is noisy'),('February Weather','It was terrible this year.'),('Peter Pan','Tis a kids story.'),('Test1','nada'),('Database database database','foo database database database'),('Database article title','body with lots of words.'),('myfulltext database','my test fulltext database');
QueryOK,8rowsaffected
Records:8 Duplicates:0 Warnings:
上一篇: 诡异的输出有关问题
下一篇: 网站访问统计工具解决办法