当前位置:网站首页>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
边栏推荐
- 哈趣投影黑马之姿,仅用半年强势突围千元投影仪市场!
- Crudini 配置文件编辑工具
- postgresql 数据库 timescaledb 函数time_bucket_gapfill()报错解决及更换 license
- 基于FPGA的VGA协议实现
- 计算模型 FPS
- Qt多线程的多种方法之一 QThread
- From "running distractor" to data platform, Master Lu started the road of evolution
- A freshman's summary of an ordinary student [I don't know whether we are stupid or crazy, but I know to run forward all the way]
- 那些自损八百的甲方要求
- k8s运行oracle
猜你喜欢
matlab / ENVI 主成分分析实现及结果分析
jmeter 函数助手 — — 随机值、随机字符串、 固定值随机提取
[SOC FPGA] peripheral PIO button lights up
Markdown displays pictures side by side
Dc-7 target
The boss always asks me about my progress. Don't you trust me? (what do you think)
Rk3399 platform development series explanation (WiFi) 5.52. Introduction to WiFi framework composition
Subghz, lorawan, Nb IOT, Internet of things
Jstat of JVM command: View JVM statistics
Ideas of high concurrency and high traffic seckill scheme
随机推荐
The boss always asks me about my progress. Don't you trust me? (what do you think)
LM小型可编程控制器软件(基于CoDeSys)笔记二十三:伺服电机运行(步进电机)相对坐标转换为绝对坐标
Ideas of high concurrency and high traffic seckill scheme
JVM命令之 jstat:查看JVM統計信息
Array proof during st table preprocessing
JVM monitoring and diagnostic tools - command line
tkinter窗口选择pcd文件并显示点云(open3d)
一段程序让你明白什么静态内部类,局部内部类,匿名内部类
基于ADAU1452的DSP及DAC音频失真分析
Deep clustering: joint optimization of depth representation learning and clustering
New Year Fireworks code plus copy, are you sure you don't want to have a look
蚂蚁庄园安全头盔 7.8蚂蚁庄园答案
基本Dos命令
rt-thread 中对 hardfault 的处理
进程间通信之共享内存
Value range of various datetimes in SQL Server 2008
360 Zhiyu released 7.0 new products to create an exclusive "unified digital workspace" for the party, government and army, and central and state-owned enterprises
10W word segmentation searches per second, the product manager raised another demand!!! (Collection)
Implementation of VGA protocol based on FPGA
[FPGA] EEPROM based on I2C