使用Navicat 运行sql文件时报1292 Incorrect datetime value: ‘0000-00-00 00:00:00.000000’ 错误

解决办法

新建查询
输入一下命令并执行
show variables like ‘sql_mode’;
set global sql_mode=‘strict_trans_tables,no_zero_in_date,error_for_division_by_zero,no_auto_create_user,no_engine_substitution’;
使用Navicat 运行sql文件时报1292 Incorrect datetime value: '0000-00-00 00:00:00.000000' 错误
从新导入数据

相关文章:

  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-11-10
  • 2021-09-16
  • 2021-05-29
  • 2021-12-05
  • 2022-12-23
猜你喜欢
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-05-25
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
相关资源
相似解决方案