{"id":174,"date":"2026-11-11T16:11:20","date_gmt":"2026-11-11T08:11:20","guid":{"rendered":"https:\/\/getdevioapp.xyz\/?p=174"},"modified":"2026-11-11T16:33:51","modified_gmt":"2026-11-11T08:33:51","slug":"devio-mysql-connection-charset","status":"publish","type":"post","link":"https:\/\/getdevioapp.xyz\/index.php\/2026\/11\/11\/devio-mysql-connection-charset\/","title":{"rendered":"\u7528 Navicat \u8fde\u63a5 Devio \u7684 MySQL\uff1a\u5730\u5740\u3001\u7aef\u53e3\u548c\u5b57\u7b26\u96c6\u522b\u9009\u9519"},"content":{"rendered":"<p>\u6570\u636e\u5e93\u5de5\u5177\u91cc\u8fde\u63a5\u6210\u529f\uff0c\u5374\u627e\u4e0d\u5230\u521a\u5efa\u7684\u5e93\uff0c\u5148\u522b\u6025\u7740\u518d\u5efa\u4e00\u4efd\u3002Mac \u4e0a\u53ef\u80fd\u540c\u65f6\u5b58\u5728\u4e0d\u540c\u5de5\u5177\u5b89\u88c5\u7684 MySQL\uff0c\u6700\u5148\u8981\u5bf9\u9f50\u7684\u662f\u5b9e\u4f8b\u7684\u5730\u5740\u548c\u7aef\u53e3\u3002<\/p>\n<h2>\u4ece Devio \u5f53\u524d\u5b9e\u4f8b\u8bfb\u53d6\u8fde\u63a5\u4fe1\u606f<\/h2>\n<p>\u5148\u786e\u8ba4\u9700\u8981\u4f7f\u7528\u7684 MySQL \u670d\u52a1\u5df2\u8fd0\u884c\uff0c\u518d\u6253\u5f00\u6570\u636e\u5e93\u76f8\u5173\u754c\u9762\u3002Devio \u4f1a\u5c55\u793a\u8fde\u63a5\u5730\u5740\u548c\u7aef\u53e3\uff0c\u4e5f\u53ef\u4ee5\u76f4\u63a5\u590d\u5236\u3002\u628a\u8fd9\u91cc\u7684\u4fe1\u606f\u586b\u8fdb Navicat \u7b49\u5ba2\u6237\u7aef\uff0c\u4e0d\u8981\u76f4\u63a5\u6cbf\u7528\u4ee5\u524d\u4fdd\u5b58\u7684\u8fde\u63a5\uff0c\u4e5f\u4e0d\u8981\u9ed8\u8ba4\u7aef\u53e3\u4e00\u5b9a\u662f 3306\u3002<\/p>\n<p>\u7528\u6237\u540d\u548c\u5bc6\u7801\u4f7f\u7528\u4f60\u4e3a\u8be5\u5b9e\u4f8b\u914d\u7f6e\u7684\u6709\u6548\u8d26\u6237\u3002\u4e0d\u8981\u76f4\u63a5\u5957\u7528\u7f51\u4e0a\u793a\u4f8b\u4e2d\u7684 root \u6216\u7a7a\u5bc6\u7801\u3002<\/p>\n<ol>\n<li>\u6838\u5bf9\u8fde\u63a5\u5730\u5740\u548c\u7aef\u53e3\uff0c\u7ed9\u5ba2\u6237\u7aef\u8fde\u63a5\u8d77\u4e00\u4e2a\u80fd\u5206\u6e05\u9879\u76ee\u6216\u5b9e\u4f8b\u7684\u540d\u5b57\u3002<\/li>\n<li>\u4f7f\u7528\u6b63\u786e\u8d26\u6237\u8fde\u63a5\uff0c\u67e5\u770b\u6570\u636e\u5e93\u5217\u8868\u3002<\/li>\n<li>\u6bd4\u5bf9 Devio \u4e2d\u7684\u5e93\u540d\u4e0e\u5ba2\u6237\u7aef\u4e2d\u7684\u5e93\u540d\u3002\u627e\u4e0d\u5230\u65f6\u5148\u5237\u65b0\u5217\u8868\uff0c\u518d\u68c0\u67e5\u8fde\u63a5\u5bf9\u8c61\u3002<\/li>\n<li>\u6d89\u53ca\u5bfc\u5165\u3001\u4fee\u6539\u6216\u5220\u9664\u524d\uff0c\u518d\u786e\u8ba4\u4e00\u6b21\u76ee\u6807\u5e93\uff0c\u4e0d\u8981\u53ea\u770b\u5de6\u4fa7\u5f53\u524d\u9009\u4e2d\u7684\u8fde\u63a5\u540d\u3002<\/li>\n<\/ol>\n<h2>\u65b0\u5efa\u6570\u636e\u5e93\u65f6\uff0c\u5148\u67e5\u9879\u76ee\u8981\u6c42<\/h2>\n<p>Devio \u652f\u6301\u5728\u521b\u5efa\u6570\u636e\u5e93\u65f6\u9009\u62e9\u5b57\u7b26\u96c6\u548c\u6392\u5e8f\u89c4\u5219\uff0c\u9009\u9879\u6765\u81ea\u5f53\u524d MySQL \u5b9e\u4f8b\u5b9e\u9645\u652f\u6301\u7684\u5217\u8868\u3002\u5217\u8868\u4e2d\u6ca1\u6709\u7684\u9009\u9879\uff0c\u4e0d\u8981\u628a\u522b\u7684\u7248\u672c\u6559\u7a0b\u91cc\u7684\u540d\u5b57\u786c\u586b\u8fdb\u53bb\u3002<\/p>\n<p>\u5b57\u7b26\u96c6\u51b3\u5b9a\u53ef\u4fdd\u5b58\u7684\u5b57\u7b26\u8303\u56f4\uff0c\u6392\u5e8f\u89c4\u5219\u4f1a\u5f71\u54cd\u5b57\u7b26\u4e32\u6bd4\u8f83\u4e0e\u6392\u5e8f\u3002\u4e00\u822c\u65b0\u9879\u76ee\u5e38\u89c1 utf8mb4\uff0c\u4f46\u5177\u4f53\u6392\u5e8f\u89c4\u5219\u4ecd\u9700\u6309\u9879\u76ee\u8981\u6c42\u548c\u76ee\u6807 MySQL \u7248\u672c\u9009\u62e9\u3002\u51c6\u5907\u5bfc\u5165\u73b0\u6709\u9879\u76ee\u65f6\uff0c\u4f18\u5148\u68c0\u67e5\u9879\u76ee\u6587\u6863\u548c\u5bfc\u51fa\u6587\u4ef6\u4e2d\u7684\u8bbe\u7f6e\uff0c\u51cf\u5c11\u73af\u5883\u5dee\u5f02\u3002<\/p>\n<p>Devio \u4f1a\u5c55\u793a\u6570\u636e\u5e93\u7684\u5b57\u7b26\u96c6\u4e0e\u6392\u5e8f\u89c4\u5219\uff0c\u5efa\u597d\u540e\u53ef\u4ee5\u518d\u6838\u5bf9\u4e00\u6b21\u3002\u6539\u53d8\u6570\u636e\u5e93\u7ea7\u9ed8\u8ba4\u8bbe\u7f6e\uff0c\u4e5f\u4e0d\u80fd\u88ab\u5f53\u4f5c\u6240\u6709\u73b0\u6709\u8868\u548c\u5b57\u6bb5\u5df2\u7ecf\u5b8c\u6210\u8f6c\u6362\u7684\u8bc1\u660e\uff1b\u65e7\u6570\u636e\u8fc1\u79fb\u9700\u8981\u5355\u72ec\u8ba1\u5212\u548c\u9a8c\u8bc1\u3002<\/p>\n<h2>\u5220\u9664\u4e4b\u524d\uff0c\u591a\u505a\u4e00\u6b65\u5907\u4efd<\/h2>\n<p>\u5bfc\u51fa\u9700\u8981\u4fdd\u7559\u7684\u6570\u636e\uff0c\u5e76\u786e\u8ba4\u6587\u4ef6\u786e\u5b9e\u751f\u6210\u3001\u80fd\u8bfb\u53d6\u3002\u91cd\u8981\u6570\u636e\u6700\u597d\u5728\u53e6\u4e00\u4e2a\u6d4b\u8bd5\u5e93\u9a8c\u8bc1\u6062\u590d\u3002\u4e0d\u8981\u628a\u201c\u6587\u4ef6\u540d\u50cf\u5907\u4efd\u201d\u5f53\u4f5c\u5df2\u7ecf\u53ef\u4ee5\u6062\u590d\u3002<\/p>\n<p>\u5728 Devio \u4e2d\u5220\u9664\u6570\u636e\u5e93\u9700\u8981\u518d\u6b21\u786e\u8ba4\u3002\u5220\u9664\u76ee\u6807\u6570\u636e\u5e93\u540e\uff0cMySQL \u8d26\u6237\u4e0e\u5bc6\u7801\u4f1a\u4fdd\u7559\u3002\u56e0\u6b64\uff0c\u5220\u5e93\u4e0d\u7b49\u4e8e\u64a4\u9500\u8d26\u6237\u6743\u9650\uff1b\u540c\u6837\uff0c\u8d26\u6237\u8fd8\u5728\u4e5f\u4e0d\u610f\u5473\u7740\u88ab\u5220\u7684\u6570\u636e\u80fd\u56de\u6765\u3002<\/p>\n<p>\u9047\u5230\u8ba4\u8bc1\u6216\u6743\u9650\u9519\u8bef\uff0c\u5148\u4fdd\u7559\u5b8c\u6574\u9519\u8bef\u4fe1\u606f\uff0c\u518d\u6309\u8be5\u8d26\u6237\u7684\u5b9e\u9645\u6388\u6743\u6392\u67e5\u3002\u4e0d\u8981\u7528\u7ed9\u6240\u6709\u8d26\u6237\u5f00\u653e\u5168\u90e8\u6743\u9650\u7684\u65b9\u5f0f\u8bd5\u9519\u3002<\/p>\n<p>\u6570\u636e\u5e93\u5907\u4efd\u9700\u8981\u81ea\u884c\u5b8c\u6210\uff0c\u64cd\u4f5c\u524d\u786e\u8ba4\u624b\u4e0a\u6709\u53ef\u6062\u590d\u7684\u6570\u636e\u526f\u672c\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u8fde\u5e93\u524d\u5148\u786e\u8ba4 MySQL \u5b9e\u4f8b\uff0c\u5efa\u5e93\u65f6\u6309\u9879\u76ee\u8981\u6c42\u9009\u5b57\u7b26\u96c6\uff0c\u5220\u9664\u524d\u7559\u597d\u53ef\u6062\u590d\u5907\u4efd\u3002<\/p>\n","protected":false},"author":1,"featured_media":201,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[7],"tags":[],"class_list":["post-174","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-usage-tips"],"_links":{"self":[{"href":"https:\/\/getdevioapp.xyz\/index.php\/wp-json\/wp\/v2\/posts\/174","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/getdevioapp.xyz\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/getdevioapp.xyz\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/getdevioapp.xyz\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/getdevioapp.xyz\/index.php\/wp-json\/wp\/v2\/comments?post=174"}],"version-history":[{"count":2,"href":"https:\/\/getdevioapp.xyz\/index.php\/wp-json\/wp\/v2\/posts\/174\/revisions"}],"predecessor-version":[{"id":193,"href":"https:\/\/getdevioapp.xyz\/index.php\/wp-json\/wp\/v2\/posts\/174\/revisions\/193"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/getdevioapp.xyz\/index.php\/wp-json\/wp\/v2\/media\/201"}],"wp:attachment":[{"href":"https:\/\/getdevioapp.xyz\/index.php\/wp-json\/wp\/v2\/media?parent=174"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/getdevioapp.xyz\/index.php\/wp-json\/wp\/v2\/categories?post=174"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/getdevioapp.xyz\/index.php\/wp-json\/wp\/v2\/tags?post=174"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}