Skip to Main Content

MySQL Database

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Interested in getting your voice heard by members of the Developer Marketing team at Oracle? Check out this post for AppDev or this post for AI focus group information.

MySQL open-source code for error code 1677

user6108784Sep 15 2021

I am getting error from MySQL5.7 on target replica node when data is being inserted on it's table. This environment is setup for row-based replication. The error message is after altering schema to just increase column length from varchar(4) to varchar(10) which was only done on source DB's table and not the target DB. Further I looked at the MySQL open-source code available for all as per git link https://github.com/mysql/mysql-server/blob/5.7/sql/sql_insert.cc. But I am not able to find which exact piece of code is responsible of this functionality that will throw below error message: -

 [ERROR] XXXXX SQL: Column 1 of table 'xxxxx.aaa' cannot be converted from type 'varchar(40(bytes))' to type 'varchar(16(bytes) utf8mb4)', Error_code: 1677

 
Please let me know which piece of code is responsible for this functionality and error message?
 Appreciate any pointers.
Thanks

Comments

Post Details

Added on Sep 15 2021
3 comments
240 views