{"id":46090,"date":"2024-12-01T17:03:40","date_gmt":"2024-12-01T09:03:40","guid":{"rendered":"https:\/\/fwq.ai\/blog\/46090\/"},"modified":"2024-12-01T17:03:40","modified_gmt":"2024-12-01T09:03:40","slug":"nextcloud-%e5%ae%89%e8%a3%85%e6%97%b6-sql-%e6%8a%a5%e9%94%99%ef%bc%9a%e6%8c%87%e5%ae%9a%e9%94%ae%e8%bf%87%e9%95%bf%ef%bc%8c%e5%a6%82%e4%bd%95%e8%a7%a3%e5%86%b3%ef%bc%9f-3","status":"publish","type":"post","link":"https:\/\/fwq.ai\/blog\/46090\/","title":{"rendered":"Nextcloud \u5b89\u88c5\u65f6 SQL \u62a5\u9519\uff1a\u6307\u5b9a\u952e\u8fc7\u957f\uff0c\u5982\u4f55\u89e3\u51b3\uff1f"},"content":{"rendered":"<p><b><\/b> <\/p>\n<h1>Nextcloud \u5b89\u88c5\u65f6 SQL \u62a5\u9519\uff1a\u6307\u5b9a\u952e\u8fc7\u957f\uff0c\u5982\u4f55\u89e3\u51b3\uff1f<\/h1>\n<p>\u6570\u636e\u5e93\u5c0f\u767d\u4e00\u679a\uff0c\u6b63\u5728\u4e0d\u65ad\u5b66\u4e60\u79ef\u7d2f\u77e5\u8bc6\uff0c\u73b0\u5c06\u5b66\u4e60\u5230\u7684\u77e5\u8bc6\u8bb0\u5f55\u4e00\u4e0b\uff0c\u4e5f\u662f\u5c06\u6211\u7684\u6240\u5f97\u5206\u4eab\u7ed9\u5927\u5bb6\uff01\u800c\u4eca\u5929\u8fd9\u7bc7\u6587\u7ae0\u300aNextcloud \u5b89\u88c5\u65f6 SQL \u62a5\u9519\uff1a\u6307\u5b9a\u952e\u8fc7\u957f\uff0c\u5982\u4f55\u89e3\u51b3\uff1f\u300b\u5e26\u5927\u5bb6\u6765\u4e86\u89e3\u4e00\u4e0b##content_title##\uff0c\u5e0c\u671b\u5bf9\u5927\u5bb6\u7684\u77e5\u8bc6\u79ef\u7d2f\u6709\u6240\u5e2e\u52a9\uff0c\u4ece\u800c\u5f25\u8865\u81ea\u5df1\u7684\u4e0d\u8db3\uff0c\u52a9\u529b\u5b9e\u6218\u5f00\u53d1\uff01<\/p>\n<p><\/p>\n<p><img decoding=\"async\" src=\"https:\/\/www.17golang.com\/uploads\/20241124\/1732416161674292a106c39.jpg\" class=\"aligncenter\" title=\"Nextcloud \u5b89\u88c5\u65f6 SQL \u62a5\u9519\uff1a\u6307\u5b9a\u952e\u8fc7\u957f\uff0c\u5982\u4f55\u89e3\u51b3\uff1f\u63d2\u56fe\" alt=\"Nextcloud \u5b89\u88c5\u65f6 SQL \u62a5\u9519\uff1a\u6307\u5b9a\u952e\u8fc7\u957f\uff0c\u5982\u4f55\u89e3\u51b3\uff1f\u63d2\u56fe\" \/><\/p>\n<p><strong>nextcloud\u5b89\u88c5\u65f6sql\u62a5\u9519,\u5982\u4f55\u89e3\u51b3\uff1f<\/strong><\/p>\n<p>\u642d\u5efanextcloud\u65f6\uff0c\u4e0d\u5c11\u7528\u6237\u9047\u5230sql\u62a5\u9519\u7684\u95ee\u9898\uff0c\u5177\u4f53\u8868\u73b0\u4e3a\uff1a<\/p>\n<p>\u201cSQLSTATE[42000]: Syntax error or access violation: 1071 Specified key was too long; max key length is 1000 bytes\u201d<\/p>\n<p>\u6b64\u62a5\u9519\u539f\u56e0\u662f\u4f7f\u7528\u7684sql\u7248\u672c\u8fc7\u4f4e\uff0cnextcloud\u9700\u8981InnoDB\u5b58\u50a8\u5f15\u64ce\uff0cAMH\u9762\u677f\u9ed8\u8ba4\u4f7f\u7528\u7684\u662fMyISAM\u5b58\u50a8\u5f15\u64ce\u3002\u56e0\u6b64\uff0c\u89e3\u51b3\u529e\u6cd5\u4e3a\uff1a<\/p>\n<p>\u5728AMH\u9762\u677f\u7684\u201c\u6570\u636e\u5e93\u201d\u53c2\u6570\u914d\u7f6e\u4e2d\uff0c\u5f00\u542f\u201cInnoDB\u5f15\u64ce (InnoDB_Engine)\u201d\u9009\u9879\u3002<\/p>\n<p>\u5f00\u542f\u540e\u518d\u91cd\u65b0\u5b89\u88c5nextcloud\u5373\u53ef\u3002<\/p>\n<p>\u6587\u4e2d\u5173\u4e8e\u7684\u77e5\u8bc6\u4ecb\u7ecd\uff0c\u5e0c\u671b\u5bf9\u4f60\u7684\u5b66\u4e60\u6709\u6240\u5e2e\u52a9\uff01\u82e5\u662f\u53d7\u76ca\u532a\u6d45\uff0c\u90a3\u5c31\u52a8\u52a8\u9f20\u6807\u6536\u85cf\u8fd9\u7bc7\u300aNextcloud \u5b89\u88c5\u65f6 SQL \u62a5\u9519\uff1a\u6307\u5b9a\u952e\u8fc7\u957f\uff0c\u5982\u4f55\u89e3\u51b3\uff1f\u300b\u6587\u7ae0\u5427\uff0c\u4e5f\u53ef\u5173\u6ce8\u7c73\u4e91\u516c\u4f17\u53f7\u4e86\u89e3\u76f8\u5173\u6280\u672f\u6587\u7ae0\u3002<\/p>\n<dl>\n<dt>\n <\/dt>\n<\/dl>\n","protected":false},"excerpt":{"rendered":"<p>Nextcloud \u5b89\u88c5\u65f6 SQL \u62a5\u9519\uff1a\u6307\u5b9a\u952e\u8fc7\u957f\uff0c\u5982\u4f55\u89e3\u51b3\uff1f \u6570\u636e\u5e93\u5c0f\u767d\u4e00\u679a\uff0c\u6b63\u5728\u4e0d\u65ad\u5b66\u4e60\u79ef\u7d2f\u77e5\u8bc6\uff0c\u73b0\u5c06\u5b66\u4e60\u5230\u7684\u77e5\u8bc6\u8bb0\u5f55\u4e00\u4e0b\uff0c\u4e5f\u662f\u5c06\u6211\u7684\u6240\u5f97\u5206\u4eab\u7ed9\u5927\u5bb6\uff01\u800c\u4eca\u5929\u8fd9\u7bc7\u6587\u7ae0\u300aNextcloud \u5b89\u88c5\u65f6 SQL \u62a5\u9519\uff1a\u6307\u5b9a\u952e\u8fc7\u957f\uff0c\u5982\u4f55\u89e3\u51b3\uff1f\u300b\u5e26\u5927\u5bb6\u6765\u4e86\u89e3\u4e00\u4e0b##content_title##\uff0c\u5e0c\u671b\u5bf9\u5927\u5bb6\u7684\u77e5\u8bc6\u79ef\u7d2f\u6709\u6240\u5e2e\u52a9\uff0c\u4ece\u800c\u5f25\u8865\u81ea\u5df1\u7684\u4e0d\u8db3\uff0c\u52a9\u529b\u5b9e\u6218\u5f00\u53d1\uff01 nextcloud\u5b89\u88c5\u65f6sql\u62a5\u9519,\u5982\u4f55\u89e3\u51b3\uff1f \u642d\u5efanextcloud\u65f6\uff0c\u4e0d\u5c11\u7528\u6237\u9047\u5230sql\u62a5\u9519\u7684\u95ee\u9898\uff0c\u5177\u4f53\u8868\u73b0\u4e3a\uff1a \u201cSQLSTATE[42000]: Syntax error or access violation: 1071 Specified key was too long; max key length is 1000 bytes\u201d \u6b64\u62a5\u9519\u539f\u56e0\u662f\u4f7f\u7528\u7684sql\u7248\u672c\u8fc7\u4f4e\uff0cnextcloud\u9700\u8981InnoDB\u5b58\u50a8\u5f15\u64ce\uff0cAMH\u9762\u677f\u9ed8\u8ba4\u4f7f\u7528\u7684\u662fMyISAM\u5b58\u50a8\u5f15\u64ce\u3002\u56e0\u6b64\uff0c\u89e3\u51b3\u529e\u6cd5\u4e3a\uff1a \u5728AMH\u9762\u677f\u7684\u201c\u6570\u636e\u5e93\u201d\u53c2\u6570\u914d\u7f6e\u4e2d\uff0c\u5f00\u542f\u201cInnoDB\u5f15\u64ce (InnoDB_Engine)\u201d\u9009\u9879\u3002 \u5f00\u542f\u540e\u518d\u91cd\u65b0\u5b89\u88c5nextcloud\u5373\u53ef\u3002 \u6587\u4e2d\u5173\u4e8e\u7684\u77e5\u8bc6\u4ecb\u7ecd\uff0c\u5e0c\u671b\u5bf9\u4f60\u7684\u5b66\u4e60\u6709\u6240\u5e2e\u52a9\uff01\u82e5\u662f\u53d7\u76ca\u532a\u6d45\uff0c\u90a3\u5c31\u52a8\u52a8\u9f20\u6807\u6536\u85cf\u8fd9\u7bc7\u300aNextcloud \u5b89\u88c5\u65f6 SQL \u62a5\u9519\uff1a\u6307\u5b9a\u952e\u8fc7\u957f\uff0c\u5982\u4f55\u89e3\u51b3\uff1f\u300b\u6587\u7ae0\u5427\uff0c\u4e5f\u53ef\u5173\u6ce8\u7c73\u4e91\u516c\u4f17\u53f7\u4e86\u89e3\u76f8\u5173\u6280\u672f\u6587\u7ae0\u3002<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[16],"tags":[],"class_list":["post-46090","post","type-post","status-publish","format-standard","hentry","category-16"],"_links":{"self":[{"href":"https:\/\/fwq.ai\/blog\/wp-json\/wp\/v2\/posts\/46090","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/fwq.ai\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/fwq.ai\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/fwq.ai\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/fwq.ai\/blog\/wp-json\/wp\/v2\/comments?post=46090"}],"version-history":[{"count":0,"href":"https:\/\/fwq.ai\/blog\/wp-json\/wp\/v2\/posts\/46090\/revisions"}],"wp:attachment":[{"href":"https:\/\/fwq.ai\/blog\/wp-json\/wp\/v2\/media?parent=46090"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/fwq.ai\/blog\/wp-json\/wp\/v2\/categories?post=46090"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/fwq.ai\/blog\/wp-json\/wp\/v2\/tags?post=46090"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}