Value of the Source Field of the tinyint(1) Type Is Changed from 2 to 1 at the Destination During Scheduled MySQL-to-MySQL Data Integration
Cause Analysis
The MySQL driver automatically identifies tinyint(1) as the bit type. Therefore, the field value is changed to 1 at the destination.
Solution
Change Connection Mode to Professional for the MySQL data source and add tinyInt1isBit=false to the end of the character string, for example, jdbc:mysql://ip:port/database?tinyInt1isBit=false.
Feedback
Was this page helpful?
Provide feedbackThank you very much for your feedback. We will continue working to improve the documentation.