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相关推荐

  1. 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 ...

  2. 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, ...

  3. mysql 提示The maximum column size is 767 bytes.

    问题产生场景 mysql建表语句,创建时,提示:Index column size too large. The maximum column size is 767 bytes. 1.1 语句如下: ...

  4. 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 ...

  5. Spring Boot 批量上传: The field files exceeds its maximum permitted size of 1048576 bytes.

    Spring Boot 批量上传异常: org.apache.tomcat.util.http.fileupload.FileUploadBase$FileSizeLimitExceededExcep ...

  6. 解决问题:The field file exceeds its maximum permitted size of 1048576 bytes

    错因描述: springboot项目使用文件上传失败,上传是个Excel文件,大小为1.35M The field file exceeds its maximum permitted size of ...

  7. 解决因nginx配置导致文件上传失败的问题 The filed file exceeds its maximum permitted size of 1048576 bytes

    解决因nginx配置问题导致文件上传失败的问题 1.问题背景 2.问题截图 3.问题分析 4.问题解决(修改nginx的配置) 5.解决之后的"后遗症"(截图) 6.分析并解决&q ...

  8. 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.错误, 显示文件 ...

  9. FileSizeLimitExceededException: The field file exceeds its maximum permitted size of 1048576 bytes.

    问题描述 使用Springboot上传流时,出现了下面的异常 org.apache.tomcat.util.http.fileupload.impl.FileSizeLimitExceededExce ...

最新文章

  1. Android 双目 单usb,【android9.0】无法打开usb uvc camera
  2. debian卸载php_在Debian10上安装PHP的方法
  3. 解决scala_spark本地读取csv中文乱码问题
  4. chisel快速入门(三)
  5. 哈希策略_优化哈希策略的简介
  6. navicat怎么查看数据库的url_连接数据库url怎么写
  7. 南信大c语言实验8报告,北科大C语言程序设计实验报告8论文报告.doc
  8. centos和redhat vsftp安装和设定
  9. c2c网站开店的流程图_C2C电子商务网站的交易流程
  10. 2020 最新JavaWEB面试题
  11. 我的服务器开发之路-服务器SSH默认端口22和ftp默认端口21修改
  12. 港科夜闻|香港科技大学(HKUST)及香港科大智能建造实验室(HKUST BIM Lab)荣获CIC建造数码化大奖组织类最高奖项...
  13. 工程总承包(EPC)项目经理培训项目背景介绍
  14. C. Garland dp
  15. 打开浏览器默认打开hao123网站的主页怎么取消设置?
  16. excel表格打印每页都有表头_Excel打印时怎么让每一页都包括表头?
  17. linux查找不到kde桌面,观点|KDE Plasma 5 —— 给尚未确定桌面环境的 Linux 用户指明道路...
  18. 【EXLIBRIS】随笔记 002
  19. The valid characters are defined in RFC 7230 and RFC 3986
  20. 从比尔盖茨嫁女看商战真经

热门文章

  1. 50个你离不开的 CLI 工具
  2. 【STM8】使用SPI通讯控制多个级联MBI5043 一一外设(SPI和TIM4)使用
  3. js对象:从万物皆对象说起
  4. 语聊房 SDK,下一代场景化解决方案新范式
  5. Python OpenCV图像处理 理论 代码
  6. linux 输入法无法运行,Linux下中文输入法出现问题的排查步骤
  7. ecshop2.7.3土特产商城源码绿色大气整站带数据茶叶商城网站模板 修正
  8. Sakura编辑器设置显示空格符,tab符,换行符
  9. 联合体c语言指针,C语言联合体
  10. PLsql的安装及配置