{"id":4310,"date":"2020-05-09T13:47:24","date_gmt":"2020-05-09T11:47:24","guid":{"rendered":"https:\/\/myoceane.fr\/?p=4310"},"modified":"2020-05-10T23:36:18","modified_gmt":"2020-05-10T21:36:18","slug":"web-%e8%87%aa%e5%8b%95%e5%82%99%e4%bb%bd-utf16-mysql-databases","status":"publish","type":"post","link":"https:\/\/myoceane.fr\/index.php\/web-%e8%87%aa%e5%8b%95%e5%82%99%e4%bb%bd-utf16-mysql-databases\/","title":{"rendered":"[Web] \u81ea\u52d5\u5099\u4efd utf16 MySQL \u8cc7\u6599\u5eab"},"content":{"rendered":"<div id=\"fb-root\"><\/div>\n<p>\u5728<a href=\"https:\/\/myoceane.fr\/index.php\/php-%e5%a6%82%e4%bd%95%e9%87%9d%e5%b0%8d-mysql-%e7%9a%84-utf16-%e9%80%b2%e8%a1%8c%e8%ae%80%e5%af%ab\/\">\u524d\u4e00\u7bc7\u6587\u7ae0<\/a>\u88e1\u9762\u6211\u5011\u8b1b\u89e3\u4e86\u5982\u4f55\u91dd\u5c0d MySQL \u8cc7\u6599\u5eab\u4e2d\u7684 utf16_unicode_ci \u7684\u6b04\u4f4d\u9032\u884c\u8b80\u5beb\uff0c\u52a0\u5165 utf16 \u7684\u7de8\u78bc\u7684\u78ba\u8b93\u958b\u767c\u591a\u4e86\u5f88\u591a\u8981\u8003\u616e\u7684\u5730\u65b9\uff0c\u7b46\u8005\u5728\u9032\u884c\u7db2\u7ad9\u958b\u767c\u7684\u6642\u5019\uff0c\u70ba\u4e86\u4e0d\u5f71\u97ff\u5230 business \u7684\u904b\u4f5c\uff0c\u8ddf\u5927\u90e8\u5206\u7684\u5de5\u7a0b\u5e2b\u4e00\u6a23\u6709 DEV \u8207 PRD \u7684\u74b0\u5883\uff0c\u672c\u7bc7\u60f3\u8981\u7d00\u9304\u81ea\u52d5\u62f7\u8c9d PRD \u7684 MySQL \u8cc7\u6599\u5eab\u5230 DEV \u7684\u74b0\u5883\u4e26\u4e14\u81ea\u52d5\u5099\u4efd utf16 MySQL \u8cc7\u6599\u5eab\u7684\u65b9\u6cd5\u3002<\/p>\n<p>\u7db2\u8def\u4e0a\u5f88\u591a<a href=\"https:\/\/serverfault.com\/questions\/195221\/how-to-rename-a-mysql-database\">\u53c3\u8003\u8cc7\u6599<\/a>\u6709\u8b1b\u89e3\u5982\u4f55\u5229\u7528 Cmd \u7684\u65b9\u5f0f\u81ea\u52d5\u5099\u4efd\u8cc7\u6599\u5eab\uff0c\u4e3b\u8981\u53ef\u4ee5\u5206\u6210\u4ee5\u4e0b\u5169\u500b\u65b9\u5f0f\uff1a<\/p>\n<h5>1. \u5229\u7528 mysqldump, mysqladmin \u8207 mysql \u7b49\u7b49\u6307\u4ee4\uff1a<\/h5>\n<pre class=\"lang:bash\">mysqldump -u user -p$passwd -R old_database &gt; .\/backup\/tmp\".sql\"\nmysqladmin -u user -p$passwd create new_database\nmysql -u user -p$passwd new_database &lt; .\/backup\/tmp\".sql\"\nmysqladmin -u user -p$passwd drop old_database<\/pre>\n<p>\u7b46\u8005\u5617\u8a66\u904e\u9019\u500b\u65b9\u6cd5\uff0c\u96d6\u7136\u53ef\u4ee5\u6210\u529f\u5730\u5c07\u6240\u6709\u6a94\u6848\u532f\u51fa\u5230 .sql \u7684\u6a94\u6848\u4e2d\u5099\u4efd\uff0c\u4f46\u662f\u6240\u6709 utf16_unicode_ci \u7684\u6b04\u4f4d\uff0c\u5728\u7b2c\u4e09\u6b65\u532f\u5165 .sql \u5230\u65b0\u7684\u8cc7\u6599\u5eab\u7684\u6642\u5019\u6703\u767c\u751f\u4e82\u78bc\u7684\u60c5\u5f62\uff01<\/p>\n<h5>2. \u81ea\u5df1\u5beb\u4e00\u500b\u00a0 Linux Shell Script \u5229\u7528\u8ff4\u5708\u8907\u88fd\u8868\u683c(\u5f8c\u4f86\u63a1\u7528\u7684\u65b9\u6cd5)\uff1a<\/h5>\n<pre class=\"lang:bash\">$mysqlconn -e \"CREATE DATABASE new_database CHARACTER SET utf16 COLLATE utf16_unicode_ci\"\nparams=$($mysqlconn -N -e \"SELECT TABLE_NAME FROM INFORMATION_SCHEMA.TABLES WHERE table_schema='old_database'\")\n\nfor name in $params; do\n    $mysqlconn -e \"CREATE TABLE IF NOT EXISTS new_database.\\`$name\\` LIKE old_database.\\`$name\\`\";\n    $mysqlconn -e \"INSERT new_database.\\`$name\\` SELECT * FROM old_database.\\`$name\\`\";\ndone;<\/pre>\n<p>\u9996\u5148\u6211\u5011\u5229\u7528 mysqlconn \u9019\u4e00\u500b\u6307\u4ee4\u5c07 old_database \u88e1\u9762\u7684\u6240\u6709\u8868\u683c\u90fd\u5217\u8868\u51fa\u4f86\u653e\u5728 $params \u88e1\u9762\uff0c\u63a5\u8457\u7528\u4e00\u500b Linux Shell Script \u5c07\u500b\u5225\u7684\u8868\u683c\u8907\u88fd\u4e26\u65b0\u589e\u9032\u65b0\u7684\u8cc7\u6599\u5eab\uff01\u4ee5\u4e0a\u5169\u500b\u65b9\u6cd5\u7406\u8ad6\u4e0a\u90fd\u662f\u53ef\u4ee5\u884c\u5f97\u901a\u7684\uff0c\u4f46\u662f\u7b46\u8005\u56e0\u70ba\u6709\u7279\u6b8a\u7b26\u865f\u8981\u8655\u7406\uff0c\u6240\u4ee5\u53ea\u80fd\u5920\u4f7f\u7528\u7b2c\u4e8c\u500b\u65b9\u6cd5\uff01\u4ee5\u4e0a\u63d0\u4f9b\u53c3\u8003\uff01<\/p>\n<h5>\u5099\u8a3b\uff1a\u95dc\u65bc Create Table \u6211\u5011\u4f7f\u7528\u7684\u662f<a href=\"https:\/\/www.mysqltutorial.org\/mysql-copy-table-data.aspx\">\u53c3\u8003\u7db2\u7ad9<\/a>\u63d0\u4f9b\u7684\u65b9\u6cd5<\/h5>\n<pre class=\"lang:sql\">CREATE TABLE IF NOT EXISTS new_database.`table` LIKE old_database.`table`\nINSERT new_database.\\`$name\\` SELECT * FROM old_database.\\`$name\\`<\/pre>\n<p>\u800c\u4e0d\u662f\u4f7f\u7528<\/p>\n<pre class=\"lang:sql\">CREATE TABLE new_database.`table` SELECT * FROM old_database.\\`$name\\`<\/pre>\n<p>\u4e3b\u8981\u539f\u56e0\u662f\u56e0\u70ba\u5f8c\u9762\u7684\u65b9\u6cd5\u4e26\u7121\u6cd5\u8907\u88fd\u8868\u683c\u4e2d\u7684\u4e00\u4e9b\u8a2d\u5b9a\u503c\u4f8b\u5982 PrimaryKey \u6216\u662f Auto_Increment \u7b49\u7b49\u7684\u7279\u6027\uff01<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u5728\u524d\u4e00\u7bc7\u6587\u7ae0\u88e1\u9762\u6211\u5011\u8b1b\u89e3\u4e86\u5982\u4f55\u91dd\u5c0d MySQL \u8cc7\u6599\u5eab\u4e2d\u7684 utf16_unicode_ci \u7684\u6b04\u4f4d\u9032\u884c\u8b80\u5beb\uff0c\u52a0\u5165 utf16 \u7684\u7de8\u78bc\u7684\u78ba\u8b93\u958b\u767c\u591a\u4e86\u5f88\u591a\u8981\u8003\u616e\u7684\u5730\u65b9\uff0c\u7b46\u8005\u5728\u9032\u884c\u7db2\u7ad9\u958b\u767c\u7684\u6642\u5019\uff0c\u70ba\u4e86\u4e0d\u5f71\u97ff\u5230 business \u7684\u904b\u4f5c\uff0c\u8ddf\u5927\u90e8\u5206\u7684\u5de5\u7a0b\u5e2b\u4e00\u6a23\u6709 DEV \u8207 PRD \u7684\u74b0\u5883\uff0c\u672c\u7bc7\u60f3\u8981\u7d00\u9304\u81ea\u52d5\u62f7\u8c9d PRD \u7684 MySQL \u8cc7\u6599\u5eab\u5230 DEV \u7684\u74b0\u5883\u4e26\u4e14\u81ea\u52d5\u5099\u4efd utf16 MySQL Databases \u7684\u65b9\u6cd5\u3002<\/p>\n","protected":false},"author":1,"featured_media":4334,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[14,8],"tags":[284,283],"class_list":["post-4310","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-it-technology","category-website","tag-mysql-","tag-utf16"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v24.6 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>[Web] \u81ea\u52d5\u5099\u4efd utf16 MySQL \u8cc7\u6599\u5eab - \u60f3\u65b9\u6d89\u6cd5 - \u91cf\u74f6\u5916\u7684\u5929\u7a7a M-Y-Oceane<\/title>\n<meta name=\"description\" content=\"\u5728\u524d\u4e00\u7bc7\u6587\u7ae0\u88e1\u9762\u6211\u5011\u8b1b\u89e3\u4e86\u5982\u4f55\u91dd\u5c0d MySQL \u8cc7\u6599\u5eab\u4e2d\u7684 utf16_unicode_ci \u7684\u6b04\u4f4d\u9032\u884c\u8b80\u5beb\uff0c\u52a0\u5165 utf16 \u7684\u7de8\u78bc\u7684\u78ba\u8b93\u958b\u767c\u591a\u4e86\u5f88\u591a\u8981\u8003\u616e\u7684\u5730\u65b9\uff0c\u7b46\u8005\u5728\u9032\u884c\u7db2\u7ad9\u958b\u767c\u7684\u6642\u5019\uff0c\u70ba\u4e86\u4e0d\u5f71\u97ff\u5230 business \u7684\u904b\u4f5c\uff0c\u8ddf\u5927\u90e8\u5206\u7684\u5de5\u7a0b\u5e2b\u4e00\u6a23\u6709 DEV \u8207 PRD \u7684\u74b0\u5883\uff0c\u672c\u7bc7\u60f3\u8981\u7d00\u9304\u81ea\u52d5\u62f7\u8c9d PRD \u7684 MySQL \u8cc7\u6599\u5eab\u5230 DEV \u7684\u74b0\u5883\u4e26\u4e14\u81ea\u52d5\u5099\u4efd utf16 MySQL \u8cc7\u6599\u5eab\u7684\u65b9\u6cd5\u3002\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/myoceane.fr\/index.php\/web-\u81ea\u52d5\u5099\u4efd-utf16-mysql-databases\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"[Web] \u81ea\u52d5\u5099\u4efd utf16 MySQL \u8cc7\u6599\u5eab - \u60f3\u65b9\u6d89\u6cd5 - \u91cf\u74f6\u5916\u7684\u5929\u7a7a M-Y-Oceane\" \/>\n<meta property=\"og:description\" content=\"\u5728\u524d\u4e00\u7bc7\u6587\u7ae0\u88e1\u9762\u6211\u5011\u8b1b\u89e3\u4e86\u5982\u4f55\u91dd\u5c0d MySQL \u8cc7\u6599\u5eab\u4e2d\u7684 utf16_unicode_ci \u7684\u6b04\u4f4d\u9032\u884c\u8b80\u5beb\uff0c\u52a0\u5165 utf16 \u7684\u7de8\u78bc\u7684\u78ba\u8b93\u958b\u767c\u591a\u4e86\u5f88\u591a\u8981\u8003\u616e\u7684\u5730\u65b9\uff0c\u7b46\u8005\u5728\u9032\u884c\u7db2\u7ad9\u958b\u767c\u7684\u6642\u5019\uff0c\u70ba\u4e86\u4e0d\u5f71\u97ff\u5230 business \u7684\u904b\u4f5c\uff0c\u8ddf\u5927\u90e8\u5206\u7684\u5de5\u7a0b\u5e2b\u4e00\u6a23\u6709 DEV \u8207 PRD \u7684\u74b0\u5883\uff0c\u672c\u7bc7\u60f3\u8981\u7d00\u9304\u81ea\u52d5\u62f7\u8c9d PRD \u7684 MySQL \u8cc7\u6599\u5eab\u5230 DEV \u7684\u74b0\u5883\u4e26\u4e14\u81ea\u52d5\u5099\u4efd utf16 MySQL \u8cc7\u6599\u5eab\u7684\u65b9\u6cd5\u3002\" \/>\n<meta property=\"og:url\" content=\"https:\/\/myoceane.fr\/index.php\/web-\u81ea\u52d5\u5099\u4efd-utf16-mysql-databases\/\" \/>\n<meta property=\"og:site_name\" content=\"\u60f3\u65b9\u6d89\u6cd5 - \u91cf\u74f6\u5916\u7684\u5929\u7a7a M-Y-Oceane\" \/>\n<meta property=\"article:published_time\" content=\"2020-05-09T11:47:24+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2020-05-10T21:36:18+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/myoceane.fr\/wp-content\/uploads\/2020\/05\/mysql_logo.png\" \/>\n\t<meta property=\"og:image:width\" content=\"886\" \/>\n\t<meta property=\"og:image:height\" content=\"340\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/png\" \/>\n<meta name=\"author\" content=\"\u6ab8\u6aac\u7238\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"\u6ab8\u6aac\u7238\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"1 minute\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\/\/myoceane.fr\/index.php\/web-%e8%87%aa%e5%8b%95%e5%82%99%e4%bb%bd-utf16-mysql-databases\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/myoceane.fr\/index.php\/web-%e8%87%aa%e5%8b%95%e5%82%99%e4%bb%bd-utf16-mysql-databases\/\"},\"author\":{\"name\":\"\u6ab8\u6aac\u7238\",\"@id\":\"https:\/\/myoceane.fr\/#\/schema\/person\/4a4552fb8c27693083d465e12db7658b\"},\"headline\":\"[Web] \u81ea\u52d5\u5099\u4efd utf16 MySQL \u8cc7\u6599\u5eab\",\"datePublished\":\"2020-05-09T11:47:24+00:00\",\"dateModified\":\"2020-05-10T21:36:18+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/myoceane.fr\/index.php\/web-%e8%87%aa%e5%8b%95%e5%82%99%e4%bb%bd-utf16-mysql-databases\/\"},\"wordCount\":40,\"commentCount\":0,\"publisher\":{\"@id\":\"https:\/\/myoceane.fr\/#\/schema\/person\/4a4552fb8c27693083d465e12db7658b\"},\"image\":{\"@id\":\"https:\/\/myoceane.fr\/index.php\/web-%e8%87%aa%e5%8b%95%e5%82%99%e4%bb%bd-utf16-mysql-databases\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/myoceane.fr\/wp-content\/uploads\/2020\/05\/mysql_logo.png\",\"keywords\":[\"MySQL \u5099\u4efd\",\"UTF16\"],\"articleSection\":[\"IT Technology\",\"Website\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\/\/myoceane.fr\/index.php\/web-%e8%87%aa%e5%8b%95%e5%82%99%e4%bb%bd-utf16-mysql-databases\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/myoceane.fr\/index.php\/web-%e8%87%aa%e5%8b%95%e5%82%99%e4%bb%bd-utf16-mysql-databases\/\",\"url\":\"https:\/\/myoceane.fr\/index.php\/web-%e8%87%aa%e5%8b%95%e5%82%99%e4%bb%bd-utf16-mysql-databases\/\",\"name\":\"[Web] \u81ea\u52d5\u5099\u4efd utf16 MySQL \u8cc7\u6599\u5eab - \u60f3\u65b9\u6d89\u6cd5 - \u91cf\u74f6\u5916\u7684\u5929\u7a7a M-Y-Oceane\",\"isPartOf\":{\"@id\":\"https:\/\/myoceane.fr\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/myoceane.fr\/index.php\/web-%e8%87%aa%e5%8b%95%e5%82%99%e4%bb%bd-utf16-mysql-databases\/#primaryimage\"},\"image\":{\"@id\":\"https:\/\/myoceane.fr\/index.php\/web-%e8%87%aa%e5%8b%95%e5%82%99%e4%bb%bd-utf16-mysql-databases\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/myoceane.fr\/wp-content\/uploads\/2020\/05\/mysql_logo.png\",\"datePublished\":\"2020-05-09T11:47:24+00:00\",\"dateModified\":\"2020-05-10T21:36:18+00:00\",\"description\":\"\u5728\u524d\u4e00\u7bc7\u6587\u7ae0\u88e1\u9762\u6211\u5011\u8b1b\u89e3\u4e86\u5982\u4f55\u91dd\u5c0d MySQL \u8cc7\u6599\u5eab\u4e2d\u7684 utf16_unicode_ci \u7684\u6b04\u4f4d\u9032\u884c\u8b80\u5beb\uff0c\u52a0\u5165 utf16 \u7684\u7de8\u78bc\u7684\u78ba\u8b93\u958b\u767c\u591a\u4e86\u5f88\u591a\u8981\u8003\u616e\u7684\u5730\u65b9\uff0c\u7b46\u8005\u5728\u9032\u884c\u7db2\u7ad9\u958b\u767c\u7684\u6642\u5019\uff0c\u70ba\u4e86\u4e0d\u5f71\u97ff\u5230 business \u7684\u904b\u4f5c\uff0c\u8ddf\u5927\u90e8\u5206\u7684\u5de5\u7a0b\u5e2b\u4e00\u6a23\u6709 DEV \u8207 PRD \u7684\u74b0\u5883\uff0c\u672c\u7bc7\u60f3\u8981\u7d00\u9304\u81ea\u52d5\u62f7\u8c9d PRD \u7684 MySQL \u8cc7\u6599\u5eab\u5230 DEV \u7684\u74b0\u5883\u4e26\u4e14\u81ea\u52d5\u5099\u4efd utf16 MySQL \u8cc7\u6599\u5eab\u7684\u65b9\u6cd5\u3002\",\"breadcrumb\":{\"@id\":\"https:\/\/myoceane.fr\/index.php\/web-%e8%87%aa%e5%8b%95%e5%82%99%e4%bb%bd-utf16-mysql-databases\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/myoceane.fr\/index.php\/web-%e8%87%aa%e5%8b%95%e5%82%99%e4%bb%bd-utf16-mysql-databases\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/myoceane.fr\/index.php\/web-%e8%87%aa%e5%8b%95%e5%82%99%e4%bb%bd-utf16-mysql-databases\/#primaryimage\",\"url\":\"https:\/\/myoceane.fr\/wp-content\/uploads\/2020\/05\/mysql_logo.png\",\"contentUrl\":\"https:\/\/myoceane.fr\/wp-content\/uploads\/2020\/05\/mysql_logo.png\",\"width\":886,\"height\":340},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/myoceane.fr\/index.php\/web-%e8%87%aa%e5%8b%95%e5%82%99%e4%bb%bd-utf16-mysql-databases\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/myoceane.fr\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"[Web] \u81ea\u52d5\u5099\u4efd utf16 MySQL \u8cc7\u6599\u5eab\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/myoceane.fr\/#website\",\"url\":\"https:\/\/myoceane.fr\/\",\"name\":\"M-Y-Oceane \u60f3\u65b9\u6d89\u6cd5\u3002\u91cf\u74f6\u5916\u7684\u5929\u7a7a\",\"description\":\"\u60f3\u65b9\u6d89\u6cd5, France, Taiwan, Health, Information Technology\",\"publisher\":{\"@id\":\"https:\/\/myoceane.fr\/#\/schema\/person\/4a4552fb8c27693083d465e12db7658b\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/myoceane.fr\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":[\"Person\",\"Organization\"],\"@id\":\"https:\/\/myoceane.fr\/#\/schema\/person\/4a4552fb8c27693083d465e12db7658b\",\"name\":\"\u6ab8\u6aac\u7238\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/myoceane.fr\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/6cc678684664f8ad45a8d56a6630b183?s=96&d=mm&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/6cc678684664f8ad45a8d56a6630b183?s=96&d=mm&r=g\",\"caption\":\"\u6ab8\u6aac\u7238\"},\"logo\":{\"@id\":\"https:\/\/myoceane.fr\/#\/schema\/person\/image\/\"},\"url\":\"https:\/\/myoceane.fr\/index.php\/author\/johnny5584767gmail-com\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"[Web] \u81ea\u52d5\u5099\u4efd utf16 MySQL \u8cc7\u6599\u5eab - \u60f3\u65b9\u6d89\u6cd5 - \u91cf\u74f6\u5916\u7684\u5929\u7a7a M-Y-Oceane","description":"\u5728\u524d\u4e00\u7bc7\u6587\u7ae0\u88e1\u9762\u6211\u5011\u8b1b\u89e3\u4e86\u5982\u4f55\u91dd\u5c0d MySQL \u8cc7\u6599\u5eab\u4e2d\u7684 utf16_unicode_ci \u7684\u6b04\u4f4d\u9032\u884c\u8b80\u5beb\uff0c\u52a0\u5165 utf16 \u7684\u7de8\u78bc\u7684\u78ba\u8b93\u958b\u767c\u591a\u4e86\u5f88\u591a\u8981\u8003\u616e\u7684\u5730\u65b9\uff0c\u7b46\u8005\u5728\u9032\u884c\u7db2\u7ad9\u958b\u767c\u7684\u6642\u5019\uff0c\u70ba\u4e86\u4e0d\u5f71\u97ff\u5230 business \u7684\u904b\u4f5c\uff0c\u8ddf\u5927\u90e8\u5206\u7684\u5de5\u7a0b\u5e2b\u4e00\u6a23\u6709 DEV \u8207 PRD \u7684\u74b0\u5883\uff0c\u672c\u7bc7\u60f3\u8981\u7d00\u9304\u81ea\u52d5\u62f7\u8c9d PRD \u7684 MySQL \u8cc7\u6599\u5eab\u5230 DEV \u7684\u74b0\u5883\u4e26\u4e14\u81ea\u52d5\u5099\u4efd utf16 MySQL \u8cc7\u6599\u5eab\u7684\u65b9\u6cd5\u3002","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/myoceane.fr\/index.php\/web-\u81ea\u52d5\u5099\u4efd-utf16-mysql-databases\/","og_locale":"en_US","og_type":"article","og_title":"[Web] \u81ea\u52d5\u5099\u4efd utf16 MySQL \u8cc7\u6599\u5eab - \u60f3\u65b9\u6d89\u6cd5 - \u91cf\u74f6\u5916\u7684\u5929\u7a7a M-Y-Oceane","og_description":"\u5728\u524d\u4e00\u7bc7\u6587\u7ae0\u88e1\u9762\u6211\u5011\u8b1b\u89e3\u4e86\u5982\u4f55\u91dd\u5c0d MySQL \u8cc7\u6599\u5eab\u4e2d\u7684 utf16_unicode_ci \u7684\u6b04\u4f4d\u9032\u884c\u8b80\u5beb\uff0c\u52a0\u5165 utf16 \u7684\u7de8\u78bc\u7684\u78ba\u8b93\u958b\u767c\u591a\u4e86\u5f88\u591a\u8981\u8003\u616e\u7684\u5730\u65b9\uff0c\u7b46\u8005\u5728\u9032\u884c\u7db2\u7ad9\u958b\u767c\u7684\u6642\u5019\uff0c\u70ba\u4e86\u4e0d\u5f71\u97ff\u5230 business \u7684\u904b\u4f5c\uff0c\u8ddf\u5927\u90e8\u5206\u7684\u5de5\u7a0b\u5e2b\u4e00\u6a23\u6709 DEV \u8207 PRD \u7684\u74b0\u5883\uff0c\u672c\u7bc7\u60f3\u8981\u7d00\u9304\u81ea\u52d5\u62f7\u8c9d PRD \u7684 MySQL \u8cc7\u6599\u5eab\u5230 DEV \u7684\u74b0\u5883\u4e26\u4e14\u81ea\u52d5\u5099\u4efd utf16 MySQL \u8cc7\u6599\u5eab\u7684\u65b9\u6cd5\u3002","og_url":"https:\/\/myoceane.fr\/index.php\/web-\u81ea\u52d5\u5099\u4efd-utf16-mysql-databases\/","og_site_name":"\u60f3\u65b9\u6d89\u6cd5 - \u91cf\u74f6\u5916\u7684\u5929\u7a7a M-Y-Oceane","article_published_time":"2020-05-09T11:47:24+00:00","article_modified_time":"2020-05-10T21:36:18+00:00","og_image":[{"width":886,"height":340,"url":"https:\/\/myoceane.fr\/wp-content\/uploads\/2020\/05\/mysql_logo.png","type":"image\/png"}],"author":"\u6ab8\u6aac\u7238","twitter_card":"summary_large_image","twitter_misc":{"Written by":"\u6ab8\u6aac\u7238","Est. reading time":"1 minute"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/myoceane.fr\/index.php\/web-%e8%87%aa%e5%8b%95%e5%82%99%e4%bb%bd-utf16-mysql-databases\/#article","isPartOf":{"@id":"https:\/\/myoceane.fr\/index.php\/web-%e8%87%aa%e5%8b%95%e5%82%99%e4%bb%bd-utf16-mysql-databases\/"},"author":{"name":"\u6ab8\u6aac\u7238","@id":"https:\/\/myoceane.fr\/#\/schema\/person\/4a4552fb8c27693083d465e12db7658b"},"headline":"[Web] \u81ea\u52d5\u5099\u4efd utf16 MySQL \u8cc7\u6599\u5eab","datePublished":"2020-05-09T11:47:24+00:00","dateModified":"2020-05-10T21:36:18+00:00","mainEntityOfPage":{"@id":"https:\/\/myoceane.fr\/index.php\/web-%e8%87%aa%e5%8b%95%e5%82%99%e4%bb%bd-utf16-mysql-databases\/"},"wordCount":40,"commentCount":0,"publisher":{"@id":"https:\/\/myoceane.fr\/#\/schema\/person\/4a4552fb8c27693083d465e12db7658b"},"image":{"@id":"https:\/\/myoceane.fr\/index.php\/web-%e8%87%aa%e5%8b%95%e5%82%99%e4%bb%bd-utf16-mysql-databases\/#primaryimage"},"thumbnailUrl":"https:\/\/myoceane.fr\/wp-content\/uploads\/2020\/05\/mysql_logo.png","keywords":["MySQL \u5099\u4efd","UTF16"],"articleSection":["IT Technology","Website"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/myoceane.fr\/index.php\/web-%e8%87%aa%e5%8b%95%e5%82%99%e4%bb%bd-utf16-mysql-databases\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/myoceane.fr\/index.php\/web-%e8%87%aa%e5%8b%95%e5%82%99%e4%bb%bd-utf16-mysql-databases\/","url":"https:\/\/myoceane.fr\/index.php\/web-%e8%87%aa%e5%8b%95%e5%82%99%e4%bb%bd-utf16-mysql-databases\/","name":"[Web] \u81ea\u52d5\u5099\u4efd utf16 MySQL \u8cc7\u6599\u5eab - \u60f3\u65b9\u6d89\u6cd5 - \u91cf\u74f6\u5916\u7684\u5929\u7a7a M-Y-Oceane","isPartOf":{"@id":"https:\/\/myoceane.fr\/#website"},"primaryImageOfPage":{"@id":"https:\/\/myoceane.fr\/index.php\/web-%e8%87%aa%e5%8b%95%e5%82%99%e4%bb%bd-utf16-mysql-databases\/#primaryimage"},"image":{"@id":"https:\/\/myoceane.fr\/index.php\/web-%e8%87%aa%e5%8b%95%e5%82%99%e4%bb%bd-utf16-mysql-databases\/#primaryimage"},"thumbnailUrl":"https:\/\/myoceane.fr\/wp-content\/uploads\/2020\/05\/mysql_logo.png","datePublished":"2020-05-09T11:47:24+00:00","dateModified":"2020-05-10T21:36:18+00:00","description":"\u5728\u524d\u4e00\u7bc7\u6587\u7ae0\u88e1\u9762\u6211\u5011\u8b1b\u89e3\u4e86\u5982\u4f55\u91dd\u5c0d MySQL \u8cc7\u6599\u5eab\u4e2d\u7684 utf16_unicode_ci \u7684\u6b04\u4f4d\u9032\u884c\u8b80\u5beb\uff0c\u52a0\u5165 utf16 \u7684\u7de8\u78bc\u7684\u78ba\u8b93\u958b\u767c\u591a\u4e86\u5f88\u591a\u8981\u8003\u616e\u7684\u5730\u65b9\uff0c\u7b46\u8005\u5728\u9032\u884c\u7db2\u7ad9\u958b\u767c\u7684\u6642\u5019\uff0c\u70ba\u4e86\u4e0d\u5f71\u97ff\u5230 business \u7684\u904b\u4f5c\uff0c\u8ddf\u5927\u90e8\u5206\u7684\u5de5\u7a0b\u5e2b\u4e00\u6a23\u6709 DEV \u8207 PRD \u7684\u74b0\u5883\uff0c\u672c\u7bc7\u60f3\u8981\u7d00\u9304\u81ea\u52d5\u62f7\u8c9d PRD \u7684 MySQL \u8cc7\u6599\u5eab\u5230 DEV \u7684\u74b0\u5883\u4e26\u4e14\u81ea\u52d5\u5099\u4efd utf16 MySQL \u8cc7\u6599\u5eab\u7684\u65b9\u6cd5\u3002","breadcrumb":{"@id":"https:\/\/myoceane.fr\/index.php\/web-%e8%87%aa%e5%8b%95%e5%82%99%e4%bb%bd-utf16-mysql-databases\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/myoceane.fr\/index.php\/web-%e8%87%aa%e5%8b%95%e5%82%99%e4%bb%bd-utf16-mysql-databases\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/myoceane.fr\/index.php\/web-%e8%87%aa%e5%8b%95%e5%82%99%e4%bb%bd-utf16-mysql-databases\/#primaryimage","url":"https:\/\/myoceane.fr\/wp-content\/uploads\/2020\/05\/mysql_logo.png","contentUrl":"https:\/\/myoceane.fr\/wp-content\/uploads\/2020\/05\/mysql_logo.png","width":886,"height":340},{"@type":"BreadcrumbList","@id":"https:\/\/myoceane.fr\/index.php\/web-%e8%87%aa%e5%8b%95%e5%82%99%e4%bb%bd-utf16-mysql-databases\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/myoceane.fr\/"},{"@type":"ListItem","position":2,"name":"[Web] \u81ea\u52d5\u5099\u4efd utf16 MySQL \u8cc7\u6599\u5eab"}]},{"@type":"WebSite","@id":"https:\/\/myoceane.fr\/#website","url":"https:\/\/myoceane.fr\/","name":"M-Y-Oceane \u60f3\u65b9\u6d89\u6cd5\u3002\u91cf\u74f6\u5916\u7684\u5929\u7a7a","description":"\u60f3\u65b9\u6d89\u6cd5, France, Taiwan, Health, Information Technology","publisher":{"@id":"https:\/\/myoceane.fr\/#\/schema\/person\/4a4552fb8c27693083d465e12db7658b"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/myoceane.fr\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":["Person","Organization"],"@id":"https:\/\/myoceane.fr\/#\/schema\/person\/4a4552fb8c27693083d465e12db7658b","name":"\u6ab8\u6aac\u7238","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/myoceane.fr\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/6cc678684664f8ad45a8d56a6630b183?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/6cc678684664f8ad45a8d56a6630b183?s=96&d=mm&r=g","caption":"\u6ab8\u6aac\u7238"},"logo":{"@id":"https:\/\/myoceane.fr\/#\/schema\/person\/image\/"},"url":"https:\/\/myoceane.fr\/index.php\/author\/johnny5584767gmail-com\/"}]}},"amp_enabled":false,"_links":{"self":[{"href":"https:\/\/myoceane.fr\/index.php\/wp-json\/wp\/v2\/posts\/4310","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/myoceane.fr\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/myoceane.fr\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/myoceane.fr\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/myoceane.fr\/index.php\/wp-json\/wp\/v2\/comments?post=4310"}],"version-history":[{"count":38,"href":"https:\/\/myoceane.fr\/index.php\/wp-json\/wp\/v2\/posts\/4310\/revisions"}],"predecessor-version":[{"id":4409,"href":"https:\/\/myoceane.fr\/index.php\/wp-json\/wp\/v2\/posts\/4310\/revisions\/4409"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/myoceane.fr\/index.php\/wp-json\/wp\/v2\/media\/4334"}],"wp:attachment":[{"href":"https:\/\/myoceane.fr\/index.php\/wp-json\/wp\/v2\/media?parent=4310"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/myoceane.fr\/index.php\/wp-json\/wp\/v2\/categories?post=4310"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/myoceane.fr\/index.php\/wp-json\/wp\/v2\/tags?post=4310"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}