mysql数据库报错

环境LNMP
php 7.3
mysql 5.6

报错
SQLSTATE[HY000]: General error: 1128 Function 'ngram' is not defined (SQL: CREATE FULLTEXT INDEX content ON `testposts` (`content`) WITH PARSER ngram)
解决
需求版本php 7.2 mysql 5.7即可,低于该版本会报错

posted @ 2020-06-21 12:56  胸毛君  阅读(592)  评论(0编辑  收藏  举报