当前位置:网站首页>Error on datetime when importing SQL file from MySQL
Error on datetime when importing SQL file from MySQL
2022-06-30 14:11:00 【Ebony feed feed Wayne yetun wyuwenmu Bian OSAS】
Incorrect datetime value: '0000-00-0000:00:00' for column 'xxxx_time' at row 1
Import sql When you file There has been such a situation newspaper datetime Value error , This is because MySQL Upgrade to 5.7 after Reasons for different timestamp defaults , You can change the local environment to MySQL5.6 Or you can change the configuration to solve ,MySQL5.7 Of sql_mode The default is
sql_mode=NO_ENGINE_SUBSTITUTION,STRICT_TRANS_TABLES
It can be changed to
sql_mode=NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION
Just fine
边栏推荐
- Getting started with shell Basics
- Je suis à Foshan, où puis - je ouvrir un compte? L'ouverture d'un compte par téléphone mobile est - elle sécurisée?
- 【科研数据处理】[实践]类别变量频数分析图表、数值变量分布图表与正态性检验(包含对数正态)
- remote: Support for password authentication was removed on August 13, 2021. Please use a personal ac
- go time. after
- Dart extended feature
- DB2 SQL Error: SQLCODE=-206, SQLSTATE=42703
- Deep understanding Net (2) kernel mode 4 Summary of kernel pattern constructs
- 想请教一下,我在佛山,到哪里开户比较好?手机开户是安全么?
- numpy 创建空数组 data = np.empty(shape=[1, 64,64,3])
猜你喜欢
单元测试效率优化:为什么要对程序进行测试?测试有什么好处?
VisualStudio and SQL
Lifting scanning tool
【 scientific literature measurement 】 mining and visualization of keywords in foreign and Chinese Literature
go time. after
提权扫描工具
Optimization of unit test efficiency: why test programs? What are the benefits of testing?
The first three passes of sqli Labs
Deep understanding Net (2) kernel mode 2 Kernel mode construct semaphone
The programming competition is coming! B station surrounding, senior members and other good gifts to you!
随机推荐
DB2 SQL Error: SQLCODE=-206, SQLSTATE=42703
Exlipse operates on multiple rows at the same time. For example, input the same text in multiple lines and columns at the same time
Intelligent operation and maintenance: visual management system based on BIM Technology
I love network security for new recruitment assessment
提权扫描工具
Go language for loop multivariable use
DNS 解析之家庭网络接入 Public DNS 实战
Problems in QT creator (additional unknown and error lines are listed in the debug output window)
Impersonate server and client using message queuing
数据恢复软件EasyRecovery15下载
Lucky hash quiz system development (source code deployment) fun investment hash game play development (case requirements)
@component使用案例
Meaning of while (~scanf ("%d%d", & A, & B))
How does MySQL merge columns?
Directory related commands
(8) JMeter component detailed once only controller
【观察】智能产业加速,为何AI算力要先行?
【Redis 系列】redis 学习十六,redis 字典(map) 及其核心编码结构
[kubernetes series] k8s set mysql8 case insensitive
Implementation of forwarding server using IO multiplexing