当前位置:网站首页>ERROR 1118 (42000): Row size too large (> 8126)
ERROR 1118 (42000): Row size too large (> 8126)
2022-07-02 06:35: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.
这个是在插入长数据的时候报错,在当前模式下,不支持这么长的blob数据插入。
解决步骤:
1、修改innodb_file_per_table和innodb_file_format
①登录数据库直接修改参数:
set global innodb_large_prefix=1
set global innodb_file_per_table=1
set global innodb_file_format=Barracuda
②修改配置文档my.cnf
[mysqld]
innodb_large_prefix=1
innodb_file_per_table = 1
innodb_file_format = Barracuda
2、将表ROW_FORMAT修改为DYNAMIC或COMPRESSED
ALTER TABLE TABLE_NAME
ROW_FORMAT=COMPRESSED
边栏推荐
- Data insertion in C language
- Bugkuctf-web16 (backup is a good habit)
- Inverter Simulink model -- processor in the loop test (PIL)
- Idempotent design of Internet API interface
- Alibaba cloud Prometheus monitoring service
- Minimum number of C language
- 2837xd Code Generation - Supplement (1)
- 2837xd代码生成模块学习(2)——ADC、ePWM模块、Timer0
- Alibaba cloud SLS log service
- Ue5 - ai Pursuit (Blueprint, Behavior tree)
猜你喜欢
A model can do two things: image annotation and image reading Q & A. VQA accuracy is close to human level | demo can be played
PI control of three-phase grid connected inverter - off grid mode
UE4 night lighting notes
Record the interesting process of using Xray for the first time
Off grid control of three-phase inverter - PR control
Junit5 支持suite的方法
Kinect DK obtains color RGB images in cv:: mat format (used in openpose)
Alibaba cloud SMS service
Ue5 - ai Pursuit (Blueprint, Behavior tree)
Save video opencv:: videowriter
随机推荐
Project practice, redis cluster technology learning (11)
Skywalking theory and Practice
高考那些事
This monitoring system makes workers tremble: turnover intention and fishing can be monitored. After the dispute, the product page has 404
C language: making barrels
2837xd代码生成模块学习(1)——GPIO模块
逆变器simulink模型——处理器在环测试(PIL)
Vs+qt set application icon
Translation d30 (with AC code POJ 28:sum number)
Error reporting on the first day of work (error reporting when Nessus installs WinPcap)
The primary market project galaxy will conduct public offering on coinlist on February 17
It is the most difficult to teach AI to play iron fist frame by frame. Now arcade game lovers have something
【虚幻】自动门蓝图笔记
【虚幻】过场动画笔记
Personal experience & blog status
Mobile mall app solution: how much is it to make an app? Detailed explanation of APP mall development content
Cmake command - Official Document
Error reporting on the first day of work (incomplete awvs unloading)
Large neural networks may be beginning to realize: the chief scientist of openai leads to controversy, and everyone quarrels
go语言入门