Menu

#4930 (ok 4.4.8) Database copy doesn't work for tables with more than one FULLTEXT index

4.4.6
fixed
None
Normal
2015-05-28
2015-05-27
No

A database cannot be copied by "Operations" -> "Copy database to", if a table has more than one FULLTEXT indexes. Here is an example:

CREATE TABLE `pages` (
  `name` varchar(64) DEFAULT NULL,
  `title` varchar(64) DEFAULT NULL,
  FULLTEXT KEY `name` (`name`),
  FULLTEXT KEY `title` (`title`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8

If I try to copy the database with this table, I get the following error:
SQL error

The problem exists for both MyISAM and InnoDB tables, and seems to be introduced by the following new feature: http://sourceforge.net/p/phpmyadmin/feature-requests/1553/

The two FULLTEXT indexes are exported by phpMyAdmin as two SQL statements but the import operation tries to execute both SQL statements as one SQL statement, and hence the SQL error.


Platform: PHP 5.5.23 // MySQL 5.6.24-percona.

Discussion

  • Madhura Jayaratne

    • assigned_to: Madhura Jayaratne
     
  • Madhura Jayaratne

    • summary: Database copy doesn't work for tables with more than one FULLTEXT index --> (ok 4.4.8) Database copy doesn't work for tables with more than one FULLTEXT index
    • status: open --> resolved
     
  • Marc Delisle

    Marc Delisle - 2015-05-28
    • Status: resolved --> fixed
     
Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.