当前位置:网站首页>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
边栏推荐
猜你喜欢

Open the blue screen after VMware installation

@Detailed differences between pathvariable and @requestparam

Apple CMS V10 template /mxone Pro adaptive film and television website template

高并发大流量秒杀方案思路

Vscode for code completion

From "running distractor" to data platform, Master Lu started the road of evolution

jmeter 函数助手 — — 随机值、随机字符串、 固定值随机提取

If you don't know these four caching modes, dare you say you understand caching?

Experience sharing of contribution of "management world"

The boss always asks me about my progress. Don't you trust me? (what do you think)
随机推荐
c语言面试写一个函数在字符串N中查找第一次出现子串M的位置。
Sequential storage of stacks
测试开发基础,教你做一个完整功能的Web平台之环境准备
Redis(一)——初识Redis
Find duplicate email addresses
Symmetric binary tree [tree traversal]
693. 行程排序
Bypass open_ basedir
Solve pod install error: FFI is an incompatible architecture
Understand the deserialization principle of fastjson for generics
JVM 全面深入
进程间通信之共享内存
Jcmd of JVM command: multifunctional command line
Crudini 配置文件编辑工具
SubGHz, LoRaWAN, NB-IoT, 物联网
Ant manor safety helmet 7.8 ant manor answer
高并发大流量秒杀方案思路
Cloud acceleration helps you effectively solve attack problems!
改变ui组件原有样式
Vscode for code completion