当前位置:网站首页>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
边栏推荐
- 3428. Put apples
- Redis(一)——初识Redis
- 可极大提升编程思想与能力的书有哪些?
- 如何在Touch Designer 2022版中设置解决Leap Motion不识别的问题?
- JVM命令之 jstat:查看JVM统计信息
- Redis(二)—Redis通用命令
- ETCD数据库源码分析——从raftNode的start函数说起
- 进程间通信之共享内存
- Rk3399 platform development series explanation (WiFi) 5.52. Introduction to WiFi framework composition
- A very good JVM interview question article (74 questions and answers)
猜你喜欢
Ideas of high concurrency and high traffic seckill scheme
POI excel export, one of my template methods
The boss always asks me about my progress. Don't you trust me? (what do you think)
FlexRay通信协议概述
The solution of a simple algebraic problem
Jmeter自带函数不够用?不如自己动手开发一个
[SQL practice] a SQL statistics of epidemic distribution across the country
软件测试知识储备:关于「登录安全」的基础知识,你了解多少?
Developers don't miss it! Oar hacker marathon phase III chain oar track registration opens
Jinfo of JVM command: view and modify JVM configuration parameters in real time
随机推荐
Vscode for code completion
Test the foundation of development, and teach you to prepare for a fully functional web platform environment
JVM命令之- jmap:导出内存映像文件&内存使用情况
Knight defeats demon king (Backpack & DP)
Crudini 配置文件编辑工具
计算模型 FPS
Markdown displays pictures side by side
哈趣投影黑马之姿,仅用半年强势突围千元投影仪市场!
UIC(组态UI工程)公版文件库新增7款行业素材
Database notes 04
[FPGA tutorial case 14] design and implementation of FIR filter based on vivado core
postgresql 数据库 timescaledb 函数time_bucket_gapfill()报错解决及更换 license
VIM mapping large K
Go language learning notes - Gorm use - native SQL, named parameters, rows, tosql | web framework gin (IX)
雷特智能家居龙海祁:从专业调光到全宅智能,20年专注成就专业
C面试24. (指针)定义一个含有20个元素的double型数组a
那些自损八百的甲方要求
The solution of a simple algebraic problem
力扣62 不同路径(从矩阵左上到右下的所有路径数量) (动态规划)
直击2022ECDC萤石云开发者大会:携手千百行业加速智能升级