duanqinqian5299 2015-03-20 14:46
浏览 174

mysql 5.6 MATCH()AGAINST()无法工作的原因

I am trying to use the full text search in mysql. Basically it works. However...

When I run tests using Yii and codeception a few times tests concerning the match against start to fail.

At some point (usually when i restart the development virtual machine (vagrant) but sometimes just after a while) the Query

SELECT * FROM activities WHERE MATCH (title) AGAINST ('efter' IN BOOLEAN MODE)

returns no results anymore

Note i say anymore because when i do a mysqldump of the failing database and reload it again the query works and the tests happily succeed.

Does anyone have any pointers to what might be going on here?

Content in the database gets loaded trough fixtures.

Mysql 5.6.21
Yii 1.1.14
Codeception 2.0.10

  • 写回答

0条回答 默认 最新

    报告相同问题?

    悬赏问题

    • ¥100 嵌入式系统基于PIC16F882和热敏电阻的数字温度计
    • ¥15 cmd cl 0x000007b
    • ¥20 BAPI_PR_CHANGE how to add account assignment information for service line
    • ¥500 火焰左右视图、视差(基于双目相机)
    • ¥100 set_link_state
    • ¥15 虚幻5 UE美术毛发渲染
    • ¥15 CVRP 图论 物流运输优化
    • ¥15 Tableau online 嵌入ppt失败
    • ¥100 支付宝网页转账系统不识别账号
    • ¥15 基于单片机的靶位控制系统