Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

SQL Error: 1191 - Can't find FULLTEXT index matching the column list

Tags:

sql

php

mysql

mybb

I'm trying to solve this error :

1191 - Can't find FULLTEXT index matching the column list

Query:

SELECT t.*, t.username AS threadusername, u.username, 
MATCH (t.subject) AGAINST ('test123 test') AS relevance 
FROM 123test_threads t
LEFT JOIN 123test_users u ON (u.uid = t.uid) 
WHERE t.fid='2' AND t.tid!='4' AND t.visible='1' AND t.closed NOT LIKE 'moved|%' 
AND MATCH (t.subject) AGAINST ('test123 test') >= '2' 
ORDER BY t.lastpost DESC LIMIT 0, 5 

whene i try to create a new thread in my multiforums website.

like image 698
user2649117 Avatar asked Aug 03 '13 18:08

user2649117


1 Answers

ALTER TABLE table ADD FULLTEXT index_name(column1);

Try this to add a full text index.

like image 164
Mihai Avatar answered Sep 22 '22 01:09

Mihai