Quantcast
Channel: StackExchange Replication Questions
Viewing all articles
Browse latest Browse all 17268

MySQL Strange Replication Error

$
0
0

I have a strange problem here. My Replication Slave has stopped with the error:

Column 9 of table 'xxxxxxxxxxxxx' cannot be converted from type 'varchar(4096)' to type 'text'

However, when I look at the table using SHOW CREATE TABLE it tells me that column 9 is already a text column. This is the same on the Master and the slave.

The Table structure is:

CREATE TABLE `tablename` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `aId` varchar(64) NOT NULL,
  `cId` varchar(64) NOT NULL,
  `hEv` varchar(64) NOT NULL,
  `cD` varchar(16) NOT NULL,
  `hC` varchar(16) DEFAULT NULL,
  `dSeconds` int(2) unsigned DEFAULT NULL,
  `bSeconds` int(2) unsigned DEFAULT NULL,
  `created` datetime NOT NULL,
  `r` text,
  PRIMARY KEY (`id`),
  KEY `c1` (`aId`),
  KEY `c2` (`cId`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1

From the Binary Log I get:

INSERT INTO `db`.`tablename`
### SET
###   @1=25
###   @2='caf6a591cab50e85407f0178e8374627'
###   @3='caf6a591cab50e85407f0178e8374627'
###   @4='channel_create'
###   @5='inbound'
###   @6=''
###   @7=0
###   @8=0
###   @9=2017-03-30 13:59:32
###   @10='aaaa_direction=inbound&timestamp=63658097971&aaaaaaa_id=caf6a591cab50e85407f0178e8374627&rrrrrrrr=%2B441234607762%4088.215.54.43&to=%2B441234607762%4088.215.54.43%3A5060&fffff=%2B441234607760%40883215354343&cccc_id=4453031-3699867571-457686%40MSX124.gfgggggggggvvccc&ccccccc_id_name=%2B441234607760&cccccccc_id_number=%2B441234607760&reseller_id=32bcde2f920d6f4863d7ccb1ed664b49&lllllll_rrrrrrrrr_uuuuu=true&eeeeeeeeee_rrrrrrrrr_uuuuuu=false&hhhhh_evvvvv=ccccccccc_create&action=all_calls'
# at 64174818

Looking at this column 9 is 2017-03-30 13:59:32 so surely that should fit happily into a text field?

I have MySQL 5.5 and am using Row Based Replication


Viewing all articles
Browse latest Browse all 17268

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>