日本三级片在线观看视频_西西大胆午夜人体视频无码_少妇无码一区二区_亚洲天堂超碰_极品少妇被猛的白浆直流_91精品云霸高清中文字幕_草草五月天伊人_久久少妇无码专区_欧美激欧美啪啪5老太_日韩在线在线成人

幫助中心 >  技術(shù)知識(shí)庫(kù) >  數(shù)據(jù)庫(kù) >  相關(guān)技術(shù)支持 >  MySQL導(dǎo)入數(shù)據(jù)庫(kù)報(bào)錯(cuò)#1118 - Row size too large ( 8126). 的解決方法

MySQL導(dǎo)入數(shù)據(jù)庫(kù)報(bào)錯(cuò)#1118 - Row size too large ( 8126). 的解決方法

2024-04-11 14:42:45 6384

MySQL導(dǎo)入數(shù)據(jù)庫(kù)報(bào)錯(cuò)#1118 - Row size too large ( 8126). Changing some columns to TEXT or BLOB or using ROW_FORMAT=DYNAMIC or ROW_FORMAT=COMPRESSED may help. In current row format, BLOB prefix of 768 bytes is stored的解決方法

 

藍(lán)隊(duì)云小課堂:

導(dǎo)入SQL文件時(shí)報(bào)錯(cuò)(在執(zhí)行創(chuàng)建表或者增加字段時(shí),發(fā)現(xiàn)row size長(zhǎng)度過(guò)長(zhǎng),會(huì)導(dǎo)致出現(xiàn)以下錯(cuò)誤)

[ERR] 1118 - Row size too large (> 8126). Changing some columns to TEXT or BLOB or using ROW_FORMAT=DYNAMIC or ROW_FORMAT=COMPRESSED may help. In current row format, BLOB prefix of 768 bytes is stored inline.

[ERR] -- MySQL dump 10.13  Distrib 5.6.50, for Linux (x86_64)

執(zhí)行以下SQL語(yǔ)句,查看嚴(yán)格模式是否開啟

show variables like '%innodb_strict_mode%';

執(zhí)行后如果為ON,則需要關(guān)閉

Variable_name   Value

innodb_strict_mode  ON

找到MySQL的配置文件my.ini

右鍵編輯,在[mysqld]配置項(xiàng)下面新增一行

[mysqld]

innodb_strict_mode=0

保存,然后重啟服務(wù)。再次執(zhí)行以下SQL語(yǔ)句,查看嚴(yán)格模式是否開啟

show variables like '%innodb_strict_mode%';

如果為OFF,則說(shuō)明執(zhí)行成功,再導(dǎo)入測(cè)試正常。

 

更多小知識(shí),可聯(lián)系藍(lán)隊(duì)云一起探討。


提交成功!非常感謝您的反饋,我們會(huì)繼續(xù)努力做到更好!

這條文檔是否有幫助解決問(wèn)題?

非常抱歉未能幫助到您。為了給您提供更好的服務(wù),我們很需要您進(jìn)一步的反饋信息:

在文檔使用中是否遇到以下問(wèn)題: