The maximum column size is 767 bytes
ERROR 1709 (HY000): Index column size too large. The maximum column size is 767 bytes.
解决方案:
1.修改mysql
set global innodb_file_format = BARRACUDA;
set global innodb_large_prefix = ON;
set global innodb_file_per_table=ON;
查看设置结果:
show variables like 'innodb_large_prefix';
show variables like 'innodb_file_format';
show variables like 'innodb_file_per_table';
结果
innodb_large_prefix:ON
innodb_file_format:Barracuda
innodb_file_per_table:ON
2.对脚本进行修改,添加ROW_FORMAT=DYNAMIC
create table orl (........) ENGINE=InnoDB DEFAULT CHARSET=utf8 ROW_FORMAT=DYNAMIC;
The maximum column size is 767 bytes相关推荐
- MySQL【问题记录 01】报错 1709 - Index column size too large. The maximum column size is 767 bytes. 可能是最简单的方法
1.问题重现 CREATE TABLE `xxl_job_registry` (`id` int(11) NOT NULL AUTO_INCREMENT,`registry_group` varcha ...
- 1709 - Index column size too large. The maximum column size is 767 bytes.
1,mysql导入同事发的sql文件报如下错误:1709 - Index column size too large. The maximum column size is 767 bytes. 2, ...
- mysql 提示The maximum column size is 767 bytes.
问题产生场景 mysql建表语句,创建时,提示:Index column size too large. The maximum column size is 767 bytes. 1.1 语句如下: ...
- ERROR 1709 (HY000): Index column size too large. The maximum column size is 767 bytes.
MySQL版本5.6.35 在一个长度为512字符的字段上创建unique key报错 CREATE DATABASE dpcs_metadata DEFAULT CHARACTER SET utf8 ...
- Spring Boot 批量上传: The field files exceeds its maximum permitted size of 1048576 bytes.
Spring Boot 批量上传异常: org.apache.tomcat.util.http.fileupload.FileUploadBase$FileSizeLimitExceededExcep ...
- 解决问题:The field file exceeds its maximum permitted size of 1048576 bytes
错因描述: springboot项目使用文件上传失败,上传是个Excel文件,大小为1.35M The field file exceeds its maximum permitted size of ...
- 解决因nginx配置导致文件上传失败的问题 The filed file exceeds its maximum permitted size of 1048576 bytes
解决因nginx配置问题导致文件上传失败的问题 1.问题背景 2.问题截图 3.问题分析 4.问题解决(修改nginx的配置) 5.解决之后的"后遗症"(截图) 6.分析并解决&q ...
- springBoot:The field file exceeds its maximum permitted size of 1048576 bytes.
一.简介 Spring Boot做文件上传时出现了The field file exceeds its maximum permitted size of 1048576 bytes.错误, 显示文件 ...
- FileSizeLimitExceededException: The field file exceeds its maximum permitted size of 1048576 bytes.
问题描述 使用Springboot上传流时,出现了下面的异常 org.apache.tomcat.util.http.fileupload.impl.FileSizeLimitExceededExce ...
最新文章
- Android 双目 单usb,【android9.0】无法打开usb uvc camera
- debian卸载php_在Debian10上安装PHP的方法
- 解决scala_spark本地读取csv中文乱码问题
- chisel快速入门(三)
- 哈希策略_优化哈希策略的简介
- navicat怎么查看数据库的url_连接数据库url怎么写
- 南信大c语言实验8报告,北科大C语言程序设计实验报告8论文报告.doc
- centos和redhat vsftp安装和设定
- c2c网站开店的流程图_C2C电子商务网站的交易流程
- 2020 最新JavaWEB面试题
- 我的服务器开发之路-服务器SSH默认端口22和ftp默认端口21修改
- 港科夜闻|香港科技大学(HKUST)及香港科大智能建造实验室(HKUST BIM Lab)荣获CIC建造数码化大奖组织类最高奖项...
- 工程总承包(EPC)项目经理培训项目背景介绍
- C. Garland dp
- 打开浏览器默认打开hao123网站的主页怎么取消设置?
- excel表格打印每页都有表头_Excel打印时怎么让每一页都包括表头?
- linux查找不到kde桌面,观点|KDE Plasma 5 —— 给尚未确定桌面环境的 Linux 用户指明道路...
- 【EXLIBRIS】随笔记 002
- The valid characters are defined in RFC 7230 and RFC 3986
- 从比尔盖茨嫁女看商战真经