当前位置:网站首页>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
边栏推荐
- Introduction et prévention des essais de pénétration
- ue虚幻引擎程序化植物生成器设置——如何快速生成大片森林
- MySQL index
- UE4 night lighting notes
- Beautiful and intelligent, Haval H6 supreme+ makes Yuanxiao travel safer
- Blender camera surround motion, animation rendering, video synthesis
- 【虚幻】按键开门蓝图笔记
- Data insertion in C language
- Blender石头雕刻
- Binary and decimal system of C language
猜你喜欢
Alibaba cloud SLS log service
【虚幻4】从U3D到UE4的转型之路
2837xd code generation module learning (4) -- idle_ task、Simulink Coder
Beautiful and intelligent, Haval H6 supreme+ makes Yuanxiao travel safer
Skywalking理论与实践
Ue5 - ai Pursuit (Blueprint, Behavior tree)
Introduction et prévention des essais de pénétration
What wires are suitable for wiring on bread board?
[ue5] animation redirection: how to import magic tower characters into the game
2837xd code generation module learning (1) -- GPIO module
随机推荐
MySQL transaction
Beautiful and intelligent, Haval H6 supreme+ makes Yuanxiao travel safer
Project practice, redis cluster technology learning (6)
Alibaba cloud Prometheus monitoring service
2837xd code generation - Supplement (2)
Network real-time video streaming based on OpenCV
2837xd code generation - stateflow (2)
【Unity3D】制作进度条——让Image同时具有Filled和Sliced的功能
Introduction to go language
[IDL] Research
Blender multi lens (multi stand) switching
Remember a simple Oracle offline data migration to tidb process
【虚幻】自动门蓝图笔记
Project practice, redis cluster technology learning (12)
ue虚幻引擎程序化植物生成器设置——如何快速生成大片森林
Sil/pil test of matlab code generation
2837xd code generation - stateflow (3)
Ue5 - ai Pursuit (Blueprint, Behavior tree)
Unreal material editor foundation - how to connect a basic material
【避坑指南】Unity3D项目接入腾讯Bugly工具时遇到的坑