Oracle Goldengate 报错
Oracle GoldenGate - Version 11.2.1.0.1
ERROR OGG-00768 DYNSQL: Preparing SQL statement (ID = 0) failed. SQL error (1064). You have an error in your SQL syntax; check the manual that correspond
s to your MySQL server version for the right syntax to use near 'inOut,`datetime_record_bak`,shuoming,`ipaddress_web`,verifymode) VALUES (?,?,?,?' at line 1.
错误原因
OGG的bug。当字段中有MYSQL的关键字或者保留字的,在使用反引号对列进行引用时触发。
解决方法
升级OGG》11.2.1.0.4
修改列名为非保留字