zoukankan      html  css  js  c++  java
  • MySQL TEXT数据类型的最大长度

    TINYTEXT 256 bytes  
    TEXT 65,535 bytes ~64kb
    MEDIUMTEXT  16,777,215 bytes ~16MB
    LONGTEXT 4,294,967,295 bytes ~4GB

    http://blog.sina.com.cn/s/blog_71f8aa010100vusp.html

    MySQL多Text字段报8126错误(解决过程)

    Row size too large. The maximum row size for the used table type, not counting BLOBs, is 8126. You have to change some columns to TEXT or BLOBs

    如果增大schedule_remark字段的内容,就会报上面的错误。Row size too large。表示行的内容太多了,就是线路220567存储的内容太多了。后面的You have to change some columns to TEXT or BLOBs具有迷惑性,因为schedule_remark字段的内容并没有增加到65k(text类型最大是65k),就报上面的错误。看来只有缩短文字内容。

    Text类型的字段容量也是有限的

    新增一个Text字段也会出现上面的问题。

  • 相关阅读:
    vi
    head
    uniq
    sort
    所谓静态绑定
    债务
    不确
    tar
    VMWare虚拟系统上网设置 及 三种模式详解
    awk
  • 原文地址:https://www.cnblogs.com/exmyth/p/8747293.html
Copyright © 2011-2022 走看看