Mysql数据库结构同步时报错:Result: 1118 - Row size too large.
今天在更新一个老数据库的结构时出现了这个问题,用的是Navicat的结构同步
看这报错意思是更改表结构时发现某行长度过长,但是实际上这张表并没有数据
实际上这是因为打开了数据库的严格检查模式
使用命令查询一下
show variables like '%innodb_strict_mode%';
可以看到是严格检查模式打开了的
用命令给它关了
set global innodb_strict_mode= OFF;
重新打开数据库查询,确保已经关闭
然后再进行结构同步,此时就可以成功了
使用严格检查模式可以防止空数据入库,不使用可以提高兼容性,自己取舍吧
Mysql数据库结构同步时报错:Result: 1118 - Row size too large.相关推荐
- mysql 1118_mysql数据库插入数据错误Error Code: 1118 - Row size too large ( 8126)
今天在本地调试的时候,把从服务器上导出的sql文件导入到本地的mysql上,但是在执行的过程中却收到了这个错误 "Error Code: 1118 - Row size too large ...
- mysql err 1118_MySQL ERROR1118报错详解 Row size too large
ERROR1118的报错信息分为两种: 1.ERROR 1118 (42000): Row size too large. The maximum row size for the used tabl ...
- 修改phpstudy的mysql数据库的密码时报错
修改phpstudy的mysql数据库的密码时报错 这几天我在用phpstudy2020搭建网站时,发现phpstudy里面的mysql的密码修改不了,百度到的方法都是phpstudy2018或之前的 ...
- MySQL导入数据库1118错误解决方案[ERR] 1118 - Row size too large (> 8126). Changing some columns to TEXT or BLOB
导入SQL文件时报错(在执行创建表或者增加字段时,发现row size长度过长,会导致出现以下错误) [ERR] 1118 - Row size too large (> 8126). Chan ...
- Mysql导入数据库报 [ERR] 1118 - Row size too large (> 8126). Changing some columns to TEXT or BLOB
今天将服务器上的数据库导出,在本机恢复的时候报错,错误代码如下: [ERR] 1118 - Row size too large (> 8126). Changing some columns ...
- MySQL新增字段报错:ERROR 1118 -- Row size too large. The maximum row size for the used table type
MySQL新增字段报错:ERROR 1118 – Row size too large. The maximum row size for the used table type, not count ...
- mysql 1118 通达_Mysql [Err] 1118 - Row size too large
首先声明,对MySQL不懂,很多都不知道原因 设计了一个表,里面很多text字段,然后填进去的东西太多(用的是Python的MySQLdb),报错: _mysql_exceptions.Operati ...
- Cannot create table [data_source]: 1118 - Row size too large. The maximum row size for the used tabl
1.问题 在导入mysql数据库时,报错: Cannot create table [data_source]: 1118 - Row size too large. The maximum row ...
- mysql5.7.26:[ERR] 1118 - Row size too large (> 8126)
场景复现 在从linux服务器的Mysql库中导出全部表结构后,准备转存到本地windows上.linux的mysql版本是5.7.26,本地是5.7,还是32位的msi程序安装的(以前上学时下载 ...
最新文章
- 在CentOS上部署基于dnx/coreclr的ASP.NET 5应用程序
- docker centos7_centos7-yum部署docker
- ipcs, ipcrm
- guid mysql_关于MySQL:MySQL-如何搜索GUID
- 收藏 | 可解释机器学习发展和常见方法!
- springboot项目中jdk版本的问题
- java this关键字的使用_做java两年了,构造方法和方法重载还是搞不明白?一文帮你搞定...
- Windows WMIC 命令使用详解 (附实例)
- Python 第六节课
- JanusGraph详解
- JAVA优秀开源框架收集
- 云原生时代——投资人视角下的云原生趋势思考
- doe五步法_DOE试验设计的五大步骤
- (二十六)Storm常见错误及处理方法
- Cocos2d+protobuf仿JJ斗地主源码,win32和Android编译通过
- kobo glo刷安卓
- C# 启动失败未能加载文件或程序集“System.Data.SQLite
- android 帧动画监听,Android 动画(View动画,帧动画,属性动画)详细介绍
- 删除word中的空白页
- appstore上架所需截屏的制作方法