当前位置:网站首页>How to solve sqlstate[hy000]: General error: 1364 field 'xxxxx' doesn't have a default value error
How to solve sqlstate[hy000]: General error: 1364 field 'xxxxx' doesn't have a default value error
2022-07-07 06:21:00 【Liu Yang's dream making program development station】
mysql There is a problem with the database settings
Finally find a way , Namely mysql Set up questions , Yes my.ini I'm looking for this file , If you don't have one, just look for it my.cnf( This is usually in /ect/my.conf), If you find this file, go find it [mysqld] This configuration , And find
sql-mode="STRICT_TRANS_TABLESNO_ENGINE_SUBSTITUTION"
This may be different from yours and mine , You just have to find sql-mode Just fine , Then copy this once ( Habitual safety ), On the note , Change it to sql-mode=NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION( If you don't find it, add it directly ), The pagoda panel is directly in mysql Directly operate the modification in the configuration modification .
Then restart the database .
service mysqld restart
Pagoda panel directly mysql Restart without command .
Okay , Perfect solution
边栏推荐
- 生活中的开销,怎么记账合适
- Rk3399 platform development series explanation (WiFi) 5.52. Introduction to WiFi framework composition
- New Year Fireworks code plus copy, are you sure you don't want to have a look
- JVM命令之 jstat:查看JVM统计信息
- Developers don't miss it! Oar hacker marathon phase III chain oar track registration opens
- Audio distortion analysis of DSP and DAC based on adau1452
- Qtthread, one of many methods of QT multithreading
- 面试中有哪些经典的数据库问题?
- JMeter's own functions are not enough? Why don't you develop one yourself
- 那些自损八百的甲方要求
猜你喜欢

「解析」FocalLoss 解决数据不平衡问题

缓存在高并发场景下的常见问题

3428. 放苹果

Open the blue screen after VMware installation

Jmeter自带函数不够用?不如自己动手开发一个

postgresql 数据库 timescaledb 函数time_bucket_gapfill()报错解决及更换 license

Jstat pour la commande JVM: voir les statistiques JVM

JVM命令之 jstat:查看JVM统计信息

Say sqlyog deceived me!
![[SOC FPGA] custom IP PWM breathing lamp](/img/4b/5053137cf95e851ca89057e9b9c15c.jpg)
[SOC FPGA] custom IP PWM breathing lamp
随机推荐
CloudCompare-点对选取
C语言面试 写一个函数查找两个字符串中的第一个公共字符串
Qt多线程的多种方法之一 QThread
3428. Put apples
The boss always asks me about my progress. Don't you trust me? (what do you think)
Ctfshow-- common posture
Jstat pour la commande JVM: voir les statistiques JVM
进程间通信之共享内存
tkinter窗口选择pcd文件并显示点云(open3d)
Cloud acceleration helps you effectively solve attack problems!
VIM mapping large K
ML's shap: Based on the adult census income binary prediction data set (whether the predicted annual income exceeds 50K), use the shap decision diagram combined with the lightgbm model to realize the
c面试 加密程序:由键盘输入明文,通过加密程序转换成密文并输出到屏幕上。
JVM monitoring and diagnostic tools - command line
Rk3399 platform development series explanation (WiFi) 5.52. Introduction to WiFi framework composition
[SQL practice] a SQL statistics of epidemic distribution across the country
Software testing knowledge reserve: how much do you know about the basic knowledge of "login security"?
JVM命令之- jmap:导出内存映像文件&内存使用情况
JVM 全面深入
UIC(组态UI工程)公版文件库新增7款行业素材