1,mysql导入同事发的sql文件报如下错误:1709 - Index column size too large. The maximum column size is 767 bytes.
2,这是因为数据库的字段设置的太长了
3,同事的都可以,我的不可以,我猜是数据库的版本问题,我本地用的是phpstudy,里面的mysql是5.5的,然后就手动升级成了5.7的版本。怎样把phpstudy里的mysql升级请参考我的另一篇文章
4,mysql版本升级了后就可以导入sql文件了,完美解决

1709 - Index column size too large. 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. mysql text 最大长度 报错 Row size too large. The maximum row size for the used table type

    数据类型长度如下 TINYTEXT 256 bytes   TEXT 65,535 bytes ~64kb MEDIUMTEXT  16,777,215 bytes ~16MB LONGTEXT 4, ...

  3. oracle ||#039; where #039;||condition;,帝国cms后台添加字段提示#039;Row size too large. The maximum row size...

    今天在帝国cms后台创建系统模型,添加字段时报了一个错误,ERROR 1118 (42000): Row size too large. The maximum row size for the us ...

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

  5. Mysql 出现Error 1118 Row size too large. The maximum row size is 65535 的解决办法

    (仅作记录,下面的解决步骤我试了一下还是会报同样的错误,问题没有解决,只好把varchar类型的大小挨个的改小了一点.若是哪位大神调好了,还请指点一二.) 解决步骤 1.     在MySQL的配置文 ...

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

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

  8. 【Kafka】kafka消费 Increase the fetch size, or decrease the maximum message size the broker will allow

    1.背景 写了一个普通的kafka消费者程序如下 /*** 普通消费者 消费测试*/@Testpublic void commonConsumerTest() {Properties props = ...

  9. mysql错误码1709_MySQL5.6出现ERROR 1709 (HY000): Index column size too large问题的解决方法...

    一.问题 mysql 5.6 出现如下问题: [ERROR 1709 (HY000): Index column size too large. The maximum column size is ...

最新文章

  1. Java线程池示例:任务窃取线程池WorkStealingPool
  2. 2给我背书_让优秀的人做你的背书人
  3. 51nod 1847 奇怪的数学题(数论/min25筛/杜教筛/斯特林数)
  4. 测试驱动开发 测试前移_我如何以及为什么认为测试驱动开发值得我花时间
  5. 服务器控件HtmlTable下控件赋值问题
  6. ERP数据口径不一,管理层不好决策?你该看看这5个数字化场景
  7. Size Balanced Tree(节点大小平衡树)
  8. 小程序内嵌H5页面判断微信及小程序环境
  9. Unix 文件和目录
  10. VS2010平台下VAssistX和Qt的整合配置及相关便捷操作
  11. 20181120 复习菜鸟教程中的node.js
  12. 3DMax与Unity统一长度单位和轴
  13. Android 键盘快捷键
  14. 如何批量导出QQ空间相册到电脑中
  15. 剑指offer 二叉搜索树与双向链表
  16. 构建具有丰富功能的交互式 Kiosk
  17. SHELLEXECUTEINFO控制外部进程
  18. MySQLSyntaxErrorException: Unknown error 1146和SQLSyntaxErrorException: Unknown error 1146
  19. CentOS中使用VeraCrypt:安装及创建整个加密硬盘
  20. 主板开启网络唤醒_网卡(网络)唤醒BIOS设置教程

热门文章

  1. c语言整形符号位_C语言中32位有符号整数如何定义
  2. 蓝桥杯 基础练习 回文数
  3. 【2019-06-26】改变的开始
  4. JavaScript 之 面向对象 [ 原型 ]
  5. LeetCode刷题(11)
  6. python接口自动化(十二)--https请求(SSL)(详解)
  7. 此url不支持http方法get_HTTP 入门
  8. python 字典列表指定key排序
  9. WebLogic应用部署之配置不需要应用名直接访问(配置默认应用)
  10. 第12章[12.8] Spring Boot+Ext JS 实现图形验证码