1,导入报错问题解决
2. 引起 Cause: java.sql.SQLException: Incorrect integer value: '' for column 'area_uid' at row 1] with root cause 。
Select version();
总体原因是 : 如果是空值应该要写NULL 官方解释说:得知新版本mysql对空值插入有"bug",
要在安装mysql的时候去除默认勾选的enable strict SQL mode
那么如果我们安装好了mysql怎么办了,解决办法是更改mysql中的配置 my.ini
(12条消息) 数据插入报错Incorrect integer value: '' for column_路大师_XA的博客-CSDN博客_incorrect integer value
my.ini中查找sql-mode, 默认为sql-mode="STRICT_TRANS_TABLES,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION", 将其修改为sql-mode="NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION",重启mysql后即可



