I know this question has been asked (and answered) many times, but none of them seem to be the same problem that I see ...
There are only two columns in the table that gives me problems: the first field is an integer, the second field is a longtext. Here is the part of the dump file from MySQL 5.5.30:
1 - MySQL dump 10.13 Distrib 5.5.30, for Linux (x86_64) 2 -- 3 -- Host: localhost Database: mydatabasename 4 -- ------------------------------------------------------ 5 -- Server version 5.5.30-log 32 DROP TABLE IF EXISTS `large_file`; 33 ; 34 ; 35 CREATE TABLE `large_file` ( 36 `id` int(11) NOT NULL AUTO_INCREMENT, 37 `data` longtext, 38 PRIMARY KEY (`id`) 39 ) ENGINE=InnoDB AUTO_INCREMENT=59 DEFAULT CHARSET=latin1; 40 ; 43 -- Dumping data for table `large_file` 44 -- 45 46 LOCK TABLES `large_file` WRITE; 47 ; 48 INSERT INTO `large_file` VALUES(38,'GyUtMTIzNDVYQ... <large data> ...); 49 /*!40000 ALTER TABLE `large_file` ENABLE KEYS */; 50 UNLOCK TABLES;
As you can see, this dump file came from MySQL 5.5.30, and I can import this data into 5.5.30. But, when I try to import into 5.6.x, I get the error ERROR 1118 (42000) is too big .
The data entering the big_file table is (relatively) large; values range from 15 MB to 25 MB. All ASCII data (base encoding 64).
Other posters had problems with a very large number of columns, but I only have two columns in this table.
The longtext type should be able to store about 4 GB, and this was the case with 5.5.30, but I believe that switching to 5.6.x will be difficult.
Can anyone understand why this is happening? Or how can I get around this?
Thanks in advance!
sql mysql
Dee
source share