MySQL 1366 error solution!
cdbcommand cannot execute sql statement: sqlstate[HY000]: General Error: 1366 Incorrect Integer Value:Classificationfor columnBUY_CAT_IDat row 1. The SQL statement execute was: insert into `ERP_customer` (`realname`, `tel`, `address`, `spec_con`, `join_time`, `buy_cat_id`) values (:yp0, :yp1, :yp2, :yp3, :yp4, :yp5).
When importing EXCEL, if it is a null value in EXCEL, I set it to “”, it will still be converted to 0 value, and the insertion fails. It is possible to cancel the setting of the field!