小樱 发表于 2020/4/23 05:09

FlarumChina老外用的论坛中文汉化版安装提示SQLSTATE[HY000]: General error: 1128 Function 'ngram' is not defined

SQLSTATE: General error: 1128 Function 'ngram' is not defined (SQL: CREATE FULLTEXT INDEX content ON `testposts` (`content`) WITH PARSER ngram)
出error了,表没写进去,不全,只有这些内容


如果二次点击那么肯定就会报错表已存在
SQLSTATE: Base table or view already exists: 1050 Table 'testmigrations' already exists (SQL: create table `testmigrations` (`migration` varchar(255) not null, `extension` varchar(255) null) default character set utf8mb4 collate 'utf8mb4_unicode_ci' engine = InnoDB)

需求版本php 7.2 mysql 5.7即可,低于该版本会报错
安装完成后效果




最好的话装Flarum老外官方论坛原版,官方也有中文语言功能

不可名 发表于 2020/4/23 05:20

{:3052:}
页: [1]
查看完整版本: FlarumChina老外用的论坛中文汉化版安装提示SQLSTATE[HY000]: General error: 1128 Function 'ngram' is not defined