当前位置:网站首页>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;边栏推荐
- Classic 6 pain points of data governance? This book teaches you to solve
- 【C语言进阶】指针的进阶【中篇】
- 一文帶你了解J.U.C的FutureTask、Fork/Join框架和BlockingQueue
- 【web】個人主頁web大作業「課錶」「相册」「留言板」
- 【 Web 】 page d'accueil personnelle 】 Programme d'études 】 albums de photos 】 babillard d'information 】
- Performance and high availability analysis of database firewall
- Prospect of database firewall technology [final chapter]
- Morris traversal of binary tree
- 2022.05.29(LC_6078_重排字符形成目标字符串)
- 掌握高性能计算前,我们先了解一下它的历史
猜你喜欢

Low carbon data center construction ideas and future trends

c指针(面试经典题目练习)

中国 璞富腾酒店及度假村旗下酒店推出全新水疗产品共庆6月11日全球健康日

Openssl1.1.1 VS2013-编译教程

【C语言】一不小心写出bug?凡人教你如何写出好代码【详解vs中调试技巧】

Apicloud visual development novice graphic tutorial

C knowledge exercise

Design and development of hospital reservation registration platform based on JSP Zip (thesis + project source code)

Analysis of optical storage direct flexible power distribution system

腾讯云数据库TDSQL-大咖论道 | 基础软件的过去、现在、未来
随机推荐
SAR回波信号基本模型与性质
c指针(面试经典题目练习)
SPSS introductory notes
基于ssm在线订餐系统设计与实现.rar(项目源码)
2022.05.29(LC_6079_价格减免)
Musk says he doesn't like being a CEO, but rather wants to do technology and design; Wu Enda's "machine learning" course is about to close registration | geek headlines
超级简单的课程设计ssm学生管理系统(含源码简单添加、删除、修改、查询操作)
调试的技巧
马斯克称自己不喜欢做CEO,更想做技术和设计;吴恩达的《机器学习》课程即将关闭注册|极客头条
nodejs-判断系统类型-获取主机名称-执行控制台命令-中文乱码
LeetCode_ Concurrent search set_ Medium_ 399. division evaluation
OFFICE技术讲座:标点符号-中文-大全
Yuntu says that every successful business system cannot be separated from apig
MATLAB 根据任意角度、取样点数(分辨率)、位置、大小画椭圆代码
Domain Driven Design (VI) - Architecture Design
[C language] accidentally write a bug? Mortals teach you how to write good code [explain debugging skills in vs]
一文带你了解J.U.C的FutureTask、Fork/Join框架和BlockingQueue
Code solution of simplex method (including super detailed code notes and the whole flow chart)
Upgrade the playing method of snatching singing, integrate the climax clips of genuine music and real-time scoring ability~
【C语言】这些经典题型大家都掌握了吗?一文学会这些题