{"id":385,"date":"2025-11-10T17:32:06","date_gmt":"2025-11-10T09:32:06","guid":{"rendered":"https:\/\/lib.kimsor.top\/?p=385"},"modified":"2025-11-10T17:32:06","modified_gmt":"2025-11-10T09:32:06","slug":"mysql%e5%88%9b%e5%bb%ba%e8%a1%a8%e6%8a%a5%e9%94%99%e4%bf%a1%e6%81%af%ef%bc%9arow-size-too-large-8126-%e8%a7%a3%e5%86%b3%e6%96%b9%e6%a1%88","status":"publish","type":"post","link":"https:\/\/lib.kimsor.top\/?p=385","title":{"rendered":"MySQL\u521b\u5efa\u8868\u62a5\u9519\u4fe1\u606f\uff1aRow size too large (> 8126) \u89e3\u51b3\u65b9\u6848"},"content":{"rendered":"\n<p><\/p>\n\n\n\n<p>\u5728\u8fdb\u884c\u6570\u636e\u5e93\u642c\u8fc1\u7684\u65f6\u5019\uff0c\u5176\u4e2d\u4e00\u4e2a\u8868\u521b\u5efa\u65f6\u76f4\u63a5\u62a5\u9519<\/p>\n\n\n\n<p>Row size too large (> 8126). Changing some columns to TEXT or BLOB may help. In current row format, BLOB prefix of 0 bytes is stored inline.<\/p>\n\n\n\n<p><\/p>\n\n\n\n<p>\u8fd9\u4e2a\u63d0\u793a\u662f\u6307\u5355\u884c\u8bb0\u5f55\u7684\u5b57\u8282\u5927\u4e8e8126\u4e86\uff0c\u56e0\u4e3a\u8fd9\u4e2a\u8868\u7684\u5b57\u6bb5\u975e\u5e38\u591a\uff0c\u5e76\u4e14\u5206\u914d\u7684\u7a7a\u95f4\u90fd\u6bd4\u8f83\u5927\uff0c\u5bfc\u81f4\u52a0\u8d77\u6765\u7684\u5b57\u8282\u6570\u5927\u4e8e\u4e868126<\/p>\n\n\n\n<p><\/p>\n\n\n\n<p>\u89e3\u51b3\u65b9\u5f0f\uff1a<\/p>\n\n\n\n<p>\u53ef\u4ee5\u901a\u8fc7\u5173\u95edmysql\u7684\u4e25\u683c\u6a21\u5f0f\u5373\u53ef<\/p>\n\n\n\n<p>set global innodb_strict_mode = 0;<\/p>\n\n\n\n<p><\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u5728\u8fdb\u884c\u6570\u636e\u5e93\u642c\u8fc1\u7684\u65f6\u5019\uff0c\u5176\u4e2d\u4e00\u4e2a\u8868\u521b\u5efa\u65f6\u76f4\u63a5\u62a5\u9519 Row size too large (> 8126). C [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1,3],"tags":[],"class_list":["post-385","post","type-post","status-publish","format-standard","hentry","category-mysql","category-database"],"_links":{"self":[{"href":"https:\/\/lib.kimsor.top\/index.php?rest_route=\/wp\/v2\/posts\/385","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/lib.kimsor.top\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/lib.kimsor.top\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/lib.kimsor.top\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/lib.kimsor.top\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=385"}],"version-history":[{"count":1,"href":"https:\/\/lib.kimsor.top\/index.php?rest_route=\/wp\/v2\/posts\/385\/revisions"}],"predecessor-version":[{"id":386,"href":"https:\/\/lib.kimsor.top\/index.php?rest_route=\/wp\/v2\/posts\/385\/revisions\/386"}],"wp:attachment":[{"href":"https:\/\/lib.kimsor.top\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=385"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/lib.kimsor.top\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=385"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/lib.kimsor.top\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=385"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}