mysql-error-1214

mysql full text search error

。_饼干妹妹 提交于 2019-12-08 19:29:08
问题 I try to add full text search to an existing table. When I tried: alter table tweets add fulltext index(tags); I got the error: ERROR 1214 (HY000): The used table type doesn't support FULLTEXT indexes what is the problem? How can I know what table type it is? 回答1: This is how you check the table type: SELECT table_schema,engine FROM information_schema.tables WHERE table_name='tweet'; Only MyISAM supports FULLTEXT Indexes . You may also want to preempt the stopword list. Click Here for the

Converting table from MyISAM to INNODB

你离开我真会死。 提交于 2019-11-28 01:57:13
问题 I am simply trying to convert a table from MyISAM to INNODB. This is for a bugzilla upgrade with testopia. This simple command fails. ALTER TABLE table_name TYPE = INNODB; ERROR 1214 (HY000): The used table type doesn't support FULLTEXT indexes I know it does not support FULLTEXT indexes, never the less I want it to convert. Would I have to drop the fulltext indexes on the table before conversion? Is there a way to query for them and drop them all? 回答1: First, see your CREATE TABLE statement:

MySQL FULLTEXT indexes issue

跟風遠走 提交于 2019-11-27 12:03:16
问题 I’m trying to create a FULLTEXT index on an attribute of a table. Mysql returns ERROR 1214: The used table type doesn’t support FULLTEXT indexes. Any idea what I’m doing wrong? 回答1: You’re using the wrong type of table. Mysql supports a few different types of tables, but the most commonly used are MyISAM and InnoDB. MyISAM (in MySQL 5.6+also InnoDB tables) are the types of tables that Mysql supports for Full-text indexes. To check your table’s type issue the following sql query: SHOW TABLE