FULLTEXT related problem on "search"

Discussion in 'MySQL' started by byyp, Mar 3, 2009.

  1. #1
    Hello there, I have recently updated my site http://tinyurl.com/asg8hj by adding a new database.

    When I use the "search" feature, I get this error:

    Error: Can't find FULLTEXT index matching the column list
    Code (markup):
    Kindly tell me what do I need to do to correct it?

    FYI, I am using phpMyadmin.

    Thanks!
     
    byyp, Mar 3, 2009 IP
  2. crivion

    crivion Notable Member

    Messages:
    1,669
    Likes Received:
    45
    Best Answers:
    0
    Trophy Points:
    210
    Digital Goods:
    3
    #2
    you need to add fulltext into mysql table field via phpmyadmin
    check the query which table and field is needed for the search and add a query like this into phpmyadmin

    ALTER TABLE `yourtblname` ADD FULLTEXT (`fieldname`)
     
    crivion, Mar 4, 2009 IP
    byyp likes this.
  3. byyp

    byyp Active Member

    Messages:
    614
    Likes Received:
    13
    Best Answers:
    0
    Trophy Points:
    85
    #3
    Thanks for the reply crivion, my site is http://tinyurl.com/asg8hj

    When I try to use the search box to find a lyric, I get this problem. I have tried to put this query in SQL

    ALTER TABLE `lyrics` ADD FULLTEXT (`title,artist,album`)

    But I get this error:
    What should I do?
     
    byyp, Mar 4, 2009 IP
  4. crivion

    crivion Notable Member

    Messages:
    1,669
    Likes Received:
    45
    Best Answers:
    0
    Trophy Points:
    210
    Digital Goods:
    3
    #4
    do it like this
    ALTER TABLE `lyrics` ADD FULLTEXT (`title`,`artist`,`album`)
     
    crivion, Mar 4, 2009 IP
  5. byyp

    byyp Active Member

    Messages:
    614
    Likes Received:
    13
    Best Answers:
    0
    Trophy Points:
    85
    #5
    Oh my God! It worked! You are a genius crivion! I appreciate this effort.+ rep for you.

    A guy from here only was asking for $25 to fix it, and I never knew it was that easy (you made it easier for me). Thanks for saving my money and my site!

    God bless you!
     
    byyp, Mar 19, 2009 IP