Menu

Searching problems after MySQL 4.1 u/g

Help
2003-12-18
2012-10-11
  • Keith Tyler

    Keith Tyler - 2003-12-18

    It seems that ever since I upgraded MySQL to 4.1, PhpWiki's TitleSearch, FullTextSearch, and LikePages functions no longer work properly.

    TitleSearch will return nothing, even for an exact string matching a given page (in fact, the pagename *is* linked in the search results header!).

    LikePages and FullTextSearch no longer return anything for terms that should return results.

    FuzzySearch continues to work fine, though.

    Hmm.. brain tingle... could this be an ASCII->Unicode problem?

     
    • Keith Tyler

      Keith Tyler - 2003-12-19

      Whee!

      ALTER TABLE page CHARACTER SET latin1 COLLATE latin1_general_ci;

      fixed this problem.

      For some reason, in MySQL 4.1, page.pagename is created with 'binary' collation.

       

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.