{"id":1369,"date":"2025-04-29T15:16:15","date_gmt":"2025-04-29T07:16:15","guid":{"rendered":"http:\/\/www.chan.ink\/?p=1369"},"modified":"2025-04-29T15:16:19","modified_gmt":"2025-04-29T07:16:19","slug":"%e3%80%90%e6%90%81%e7%bd%ae%e5%be%85%e8%ae%ae%e3%80%91sqlite3%e8%bf%81%e7%a7%bb%e5%88%b0mysql","status":"publish","type":"post","link":"http:\/\/www.chan.ink\/index.php\/2025\/04\/29\/%e3%80%90%e6%90%81%e7%bd%ae%e5%be%85%e8%ae%ae%e3%80%91sqlite3%e8%bf%81%e7%a7%bb%e5%88%b0mysql\/","title":{"rendered":"\u3010\u6401\u7f6e\u5f85\u8bae\u3011sqlite3\u8fc1\u79fb\u5230mysql"},"content":{"rendered":"\n<p class=\"wp-block-paragraph\">\u76f8\u5173\u7684github\u9879\u76ee\uff1a<a href=\"https:\/\/github.com\/techouse\/sqlite3-to-mysql\">https:\/\/github.com\/techouse\/sqlite3-to-mysql<\/a><br><\/p>\n\n\n\n<p class=\"wp-block-paragraph\">\u5f53\u524d\u95ee\u9898\uff1aERROR:SQLite3toMySQL:MySQL failed creating table web_gamename: 3780 (HY000): Referencing column &#8216;game_id&#8217; and referenced column &#8216;id&#8217; in foreign key constraint &#8216;web_gamedenomination_FK_0_0&#8217; are incompatible.<br><br>\u7ecf\u8fc7\u67e5\u770b\uff0c\u5728sqlite3\u4e2d\uff0c\u4e3b\u952e\u90fd\u662finteger\u7c7b\u578b\uff0c\u5916\u952e\u90fd\u662fbigint\u7c7b\u578b\u3002<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">\u6682\u65f6\u65e0\u6cd5\u4fee\u6539\uff0c\u4e14\u5bf9\u6570\u636e\u5e93\u7406\u89e3\u4e0d\u591f\u3002\u6682\u4f5c\u8bb0\u5f55\uff0c\u4e0d\u505a\u6df1\u7a76\uff0c\u540e\u7eed\u518d\u770b\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u76f8\u5173\u7684github\u9879\u76ee\uff1ahttps:\/\/github.com\/techouse\/sqlite3-to-mysq [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-1369","post","type-post","status-publish","format-standard","hentry","category-uncategorized"],"_links":{"self":[{"href":"http:\/\/www.chan.ink\/index.php\/wp-json\/wp\/v2\/posts\/1369","targetHints":{"allow":["GET"]}}],"collection":[{"href":"http:\/\/www.chan.ink\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/www.chan.ink\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/www.chan.ink\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/www.chan.ink\/index.php\/wp-json\/wp\/v2\/comments?post=1369"}],"version-history":[{"count":1,"href":"http:\/\/www.chan.ink\/index.php\/wp-json\/wp\/v2\/posts\/1369\/revisions"}],"predecessor-version":[{"id":1370,"href":"http:\/\/www.chan.ink\/index.php\/wp-json\/wp\/v2\/posts\/1369\/revisions\/1370"}],"wp:attachment":[{"href":"http:\/\/www.chan.ink\/index.php\/wp-json\/wp\/v2\/media?parent=1369"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/www.chan.ink\/index.php\/wp-json\/wp\/v2\/categories?post=1369"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/www.chan.ink\/index.php\/wp-json\/wp\/v2\/tags?post=1369"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}