国产探花免费观看_亚洲丰满少妇自慰呻吟_97日韩有码在线_资源在线日韩欧美_一区二区精品毛片,辰东完美世界有声小说,欢乐颂第一季,yy玄幻小说排行榜完本

首頁(yè) > 學(xué)院 > 開(kāi)發(fā)設(shè)計(jì) > 正文

mysql 創(chuàng)建表失敗

2019-11-08 20:38:43
字體:
來(lái)源:轉(zhuǎn)載
供稿:網(wǎng)友

MySQL 錯(cuò)誤:Row size too large. The maximum row size for the used table type, not counting BLOB

示例:     MySQL的最大行大小限制為65535字節(jié)顯示在下面的InnoDB和MyISAM的例子。即使存儲(chǔ)引擎可以支持較大的行,但無(wú)論存儲(chǔ)引擎執(zhí)行的限制是如何執(zhí)行的。

mysql> CREATE TABLE t (a VARCHAR(10000), b VARCHAR(10000), c VARCHAR(10000), d VARCHAR(10000), e VARCHAR(10000), f VARCHAR(10000), g VARCHAR(6000)) ENGINE=InnoDB CHARACTER SET latin1;ERROR 1118 (42000): Row size too large. The maximum row size for the used table type, not counting BLOBs, is 65535. This includes storage overhead, check the manual. You have to change some columns to TEXT or BLOBs mysql> CREATE TABLE t (a VARCHAR(10000), b VARCHAR(10000), c VARCHAR(10000), d VARCHAR(10000), e VARCHAR(10000), f VARCHAR(10000), g VARCHAR(6000)) ENGINE=MyISAM CHARACTER SET latin1;ERROR 1118 (42000): Row size too large. The maximum row size for the used table type, not counting BLOBs, is 65535. This includes storage overhead, check the manual. You have to change some columns to TEXT or BLOBs mysql> CREATE TABLE t (a VARCHAR(10000), b VARCHAR(10000), c VARCHAR(10000), d VARCHAR(10000), e VARCHAR(10000), f VARCHAR(10000), g TEXT(6000)) ENGINE=MyISAM CHARACTER SET latin1;Query OK, 0 rows affected (0.02 sec)

參考:https://dev.mysql.com/doc/refman/5.7/en/column-count-limit.html


發(fā)表評(píng)論 共有條評(píng)論
用戶名: 密碼:
驗(yàn)證碼: 匿名發(fā)表
主站蜘蛛池模板: 朝阳县| 阳山县| 安新县| 临安市| 广州市| 安丘市| 青海省| 宜黄县| 武鸣县| 广饶县| 六安市| 彭山县| 桐柏县| 崇义县| 杭锦旗| 酉阳| 威宁| 佳木斯市| 大理市| 青海省| 固原市| 广昌县| 海南省| 宿迁市| 公安县| 浪卡子县| 朝阳县| 漳平市| 闸北区| 木里| 杨浦区| 农安县| 台湾省| 瓮安县| 临清市| 新晃| 高邑县| 大悟县| 望城县| 宁阳县| 余干县|