当前位置:网站首页>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
边栏推荐
- Niuke Xiaobai monthly race 52 E. sum logarithms in groups (two points & inclusion and exclusion)
- Ideas of high concurrency and high traffic seckill scheme
- Jstat pour la commande JVM: voir les statistiques JVM
- Say sqlyog deceived me!
- ST表预处理时的数组证明
- vim映射大K
- QT console output in GUI applications- Console output in a Qt GUI app?
- c语言(结构体)定义一个User结构体,含以下字段:
- How to keep accounts of expenses in life
- 可极大提升编程思想与能力的书有哪些?
猜你喜欢

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

10W word segmentation searches per second, the product manager raised another demand!!! (Collection)

【GNN】图解GNN: A gentle introduction(含视频)

Redis(二)—Redis通用命令

博士申请 | 上海交通大学自然科学研究院洪亮教授招收深度学习方向博士生

外设驱动库开发笔记43:GPIO模拟SPI驱动

软件测试的几个关键步骤,你需要知道

rt-thread 中对 hardfault 的处理

蚂蚁庄园安全头盔 7.8蚂蚁庄园答案

港科大&MSRA新研究:关于图像到图像转换,Fine-tuning is all you need
随机推荐
「解析」FocalLoss 解决数据不平衡问题
Knight defeats demon king (Backpack & DP)
3531. Huffman tree
基于ADAU1452的DSP及DAC音频失真分析
window下面如何安装swoole
对称的二叉树【树的遍历】
c面试 加密程序:由键盘输入明文,通过加密程序转换成密文并输出到屏幕上。
Redis(二)—Redis通用命令
VMware安装后打开就蓝屏
基于FPGA的VGA协议实现
How to set up in touch designer 2022 to solve the problem that leap motion is not recognized?
安装mongodb数据库
安装VMmare时候提示hyper-v / device defender 侧通道安全性
Jcmd of JVM command: multifunctional command line
软件测试知识储备:关于「登录安全」的基础知识,你了解多少?
rt-thread 中对 hardfault 的处理
Check point: the core element for enterprises to deploy zero trust network (ztna)
牛客小白月赛52 E.分组求对数和(二分&容斥)
[SOC FPGA] peripheral PIO button lights up
PostgreSQL database timescaledb function time_ bucket_ Gapfill() error resolution and license replacement