环境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即可,低于该版本会报错
环境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即可,低于该版本会报错