当前位置:网站首页>MySql的MyISAM引擎切换InnoDB时报错Row size too large (> 8126)解决
MySql的MyISAM引擎切换InnoDB时报错Row size too large (> 8126)解决
2022-06-10 18:41:00 【4xx.me】
MySql的MyISAM引擎切换InnoDB时报错Row size too large (> 8126)
Row size too large (> 8126). Changing some columns to TEXT or BLOB may help. In current row format, BLOB prefix of 0 bytes is stored inline.
Row size too large (> 8126)报错也可能发生在添加字段时,行大小不够了,可以把行大小改大来解决。
在线修改,重启配置失效
# 查看配置
show variables like '%innodb_strict_mode%';
show variables like '%innodb_log_file_size%';
# 修改配置
set GLOBAL innodb_strict_mode=0
set GLOBAL innodb_log_file_size=128M如果提示该变量只读,则需要从修改配置文件重启/etc/my.cnf
修改配置,重启生效
innodb_strict_mode = 0
innodb_log_file_size = 128M修改表引擎
alter table 表名 engine=innodb;边栏推荐
- Cet article vous donne un aperçu de la tâche future de j.u.c, du cadre Fork / join et de la file d'attente de blocage
- Computer:成功教你如何使用一招—就能找回以前的密码(曾经保存的密码但当前显示为******号的密码)
- SAR图像聚焦质量评价插件
- 数据库防火墙的性能和高可用性分析
- Before we learn about high-performance computing, let's take a look at its history
- Basic improvement - tree DP supplement
- 云图说|每个成功的业务系统都离不开APIG的保驾护航
- 【C语言】这些经典题型大家都掌握了吗?一文学会这些题
- 金融行业的密钥及加密机制
- 【C语言进阶】指针的进阶【中篇】
猜你喜欢

Beijing Metro ticketing system

Upgrade the playing method of snatching singing, integrate the climax clips of genuine music and real-time scoring ability~

Implementation analysis of single image haze removal using dark channel prior

Mysql (17 déclencheurs)

专项测试之「 性能测试」总结

北京地铁票务系统

Debugging skills

腾讯Libco协程开源库 源码分析(三)---- 探索协程切换流程 汇编寄存器保存 高效保存协程环境

【C语言进阶】数据的存储【下篇】【万字总结】

Code solution of simplex method (including super detailed code notes and the whole flow chart)
随机推荐
Cet article vous donne un aperçu de la tâche future de j.u.c, du cadre Fork / join et de la file d'attente de blocage
What are the current mainstream all-optical technology solutions- Part II
Developers changing the world - Yao Guang teenagers playing Tetris
2022.05.23(LC_300_最长递增子序列)
Mysql8.0 (summary of new features)
SQL语句查看基本表结构和表中约束字段 、主码、外码 (简单有效)
Openssl1.1.1 VS2013-编译教程
MATLAB 根据任意角度、取样点数(分辨率)、位置、大小画椭圆代码
Apicloud visual development novice graphic tutorial
中国 璞富腾酒店及度假村旗下酒店推出全新水疗产品共庆6月11日全球健康日
【C语言进阶】指针的进阶【中篇】
Debugging skills
APICloud可视化开发新手图文教程
多通道信号数据压缩存储
第6章 关系数据理论练习
Mysql (17 déclencheurs)
最长上升子序列(LIS)洛谷
Computer:成功教你如何使用一招—就能找回以前的密码(曾经保存的密码但当前显示为******号的密码)
腾讯云数据库TDSQL-大咖论道 | 基础软件的过去、现在、未来
mysql(17-课后练习题)