当前位置:网站首页>ERROR 1118 (42000): Row size too large (> 8126)
ERROR 1118 (42000): Row size too large (> 8126)
2022-07-02 10:17:00 【bengozhong】
ERROR 1118 (42000): Row size too large (> 8126). Changing some columns to TEXT or BLOB or using ROW_FORMAT=DYNAMIC or ROW_FORMAT=COMPRESSED may help. In current row format, BLOB prefix of 768 bytes is stored inline.
This is an error when inserting long data , In the current mode , It doesn't support such a long one blob Insert data into .
Solution steps :
1、 modify innodb_file_per_table and innodb_file_format
① Log in to the database and modify parameters directly :
set global innodb_large_prefix=1
set global innodb_file_per_table=1
set global innodb_file_format=Barracuda
② Modify the configuration document my.cnf
[mysqld]
innodb_large_prefix=1
innodb_file_per_table = 1
innodb_file_format = Barracuda
2、 Will table ROW_FORMAT It is amended as follows DYNAMIC or COMPRESSED
ALTER TABLE TABLE_NAME
ROW_FORMAT=COMPRESSED
边栏推荐
- 2837xd code generation - stateflow (2)
- 【虚幻】按键开门蓝图笔记
- 阿里云Prometheus监控服务
- How to achieve the top progress bar effect in background management projects
- Mobile mall app solution: how much is it to make an app? Detailed explanation of APP mall development content
- 虚幻AI蓝图基础笔记(万字整理)
- Mysql索引
- Project practice, redis cluster technology learning (6)
- Basic notes of illusory AI blueprint (10000 words)
- This article takes you to learn in detail what is fiber to home FTTH
猜你喜欢
UE5——AI追逐(藍圖、行為樹)
This article takes you to learn in detail what is fiber to home FTTH
Blender stone carving
2837xd code generation - stateflow (3)
In SQL injection, why must the ID of union joint query be equal to 0
2837xd Code Generation - Supplement (1)
Alibaba cloud Prometheus monitoring service
2837xd 代码生成——StateFlow(2)
【虚幻】自动门蓝图笔记
Eslint reports an error
随机推荐
How to handle error logic gracefully
Junit4运行mvn test 测试套件升级方案
Message mechanism -- getting to know messages and message queues for the first time
Following nym, the new project Galaxy token announced by coinlist is gal
Alibaba cloud SLS log service
【虚幻4】UMG组件的简介与使用(更新中...)
Attack and defense world web advanced area unserialize3
How much is it to develop a system software in Beijing, and what funds are needed to develop the software
What is call / cc- What is call/cc?
Mysql索引
ue虛幻引擎程序化植物生成器設置——如何快速生成大片森林
Basic notes of illusory AI blueprint (10000 words)
[unreal] key to open the door blueprint notes
Zlib download and use
2837xd code generation module learning (2) -- ADC, epwm module, timer0
虚幻AI蓝图基础笔记(万字整理)
[ue5] animation redirection: how to import magic tower characters into the game
Introduction to go language
【Unity3D】嵌套使用Layout Group制作拥有动态子物体高度的Scroll View
2837xd代码生成模块学习(4)——idle_task、Simulink Coder