title: mysql replication (TokuDB replica): Column X of table 'database.table' cannot be converted from type 'varchar(Y)' to type 'varchar(Y)'
body: <p>Experienced this error when reviewing the output of</p>
  
  <pre><code>SHOW SLAVE STATUS\;
  </code></pre>
  
  <p>this is the excerpt from the status output:</p>
  
  <pre><code>   Last_SQL_Errno: 1677
     Last_SQL_Error: Column 1 of table 'database.table' cannot be converted 
                     from type 'varchar(16)' to type 'varchar(16)'
  </code></pre>
  
  <h2>Configuration:</h2>
  
  <p>Master - Mysql 5.6.x // table with error has ENGINE=InnoDB</p>
  
  <p>Replica - Percona 5.6.x // table with error has ENGINE=TokuDB</p>
  
  <p>The column definitions on the master and the replicate servers match exactly:</p>
  
  <pre><code>SHOW CREATE TABLE database.table;
  
  ....
      CREATE TABLE `table` (
        `column_0` bigint(20) NOT NULL AUTO_INCREMENT,
        `column_1` varchar(16) NOT NULL,
        `column_2` varchar(50) NOT NULL,
  ....
  </code></pre>