国产探花免费观看_亚洲丰满少妇自慰呻吟_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ā)表
主站蜘蛛池模板: 秭归县| 宁夏| 罗田县| 朔州市| 祥云县| 施秉县| 金阳县| 进贤县| 阿合奇县| 湘阴县| 扎赉特旗| 天台县| 上蔡县| 揭西县| 彭水| 库伦旗| 韩城市| 密云县| 和田县| 北碚区| 监利县| 陆丰市| 安丘市| 明水县| 西城区| 泸溪县| 两当县| 亳州市| 德惠市| 宝鸡市| 福建省| 进贤县| 宜州市| 炉霍县| 乾安县| 英超| 葵青区| 张家界市| 南安市| 阜城县| 广元市|