[Err] 1214 - The used table type doesn't support FULLTEXT indexes

Posted moonsoft

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了[Err] 1214 - The used table type doesn't support FULLTEXT indexes相关的知识,希望对你有一定的参考价值。

--
-- Table structure for table `film_text`
-- 
-- InnoDB added FULLTEXT support in 5.6.10. If you use an
-- earlier version, then consider upgrading (recommended) or 
-- changing InnoDB to MyISAM as the film_text engine
--

CREATE TABLE film_text (
  film_id SMALLINT NOT NULL,
  title VARCHAR(255) NOT NULL,
  description TEXT,
  PRIMARY KEY  (film_id),
  FULLTEXT KEY idx_title_description (title,description)
)ENGINE=InnoDB DEFAULT CHARSET=utf8;

mysql示例数据库 Sakila 安装

 

将 “”film_text” 表的 ENGINE 修改为: MyISAM就不报错了!

--
-- Table structure for table `film_text`
-- 
-- InnoDB added FULLTEXT support in 5.6.10. If you use an
-- earlier version, then consider upgrading (recommended) or 
-- changing InnoDB to MyISAM as the film_text engine
--

CREATE TABLE film_text (
  film_id SMALLINT NOT NULL,
  title VARCHAR(255) NOT NULL,
  description TEXT,
  PRIMARY KEY  (film_id),
  FULLTEXT KEY idx_title_description (title,description)
)ENGINE=MyISAM DEFAULT CHARSET=utf8;

 

以上是关于[Err] 1214 - The used table type doesn't support FULLTEXT indexes的主要内容,如果未能解决你的问题,请参考以下文章

Row size too large. The maximum row size for the used table type 解决

Row size too large. The maximum row size for the used table type 解决

Tab Key not working when using Xfce remote desktop

wepy build --watch报错 ERR! Parse WePY config failed. Are you trying to use 解决

wepy build --watch报错 ERR! Parse WePY config failed. Are you trying to use 解决

[ERR] 1114 - The table 'xxx' is full