摘要:
上传CSV文件,提示错误,检查错误日志在根目录下tempEP里,打开错误日志ep_debug_log.txt发现提示如下:MySQL 错误 1366: Incorrect integer value: '' for column 'products_tax_class_id' at row 1运行:INSERT INTO zen_products (products_image,products_model,products_price,products_status,products_last_modified,products_date_added,prod 阅读全文
posted @ 2012-07-07 16:41
宕样
阅读(425)
评论(0)
推荐(0)
摘要:
新版本mysql对空值插入有"bug",要在安装mysql的时候去除默认勾选的enable strict SQL mode。如果已经安装好了的,就在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后即可。 阅读全文
posted @ 2012-07-07 15:55
宕样
阅读(475)
评论(0)
推荐(0)
浙公网安备 33010602011771号