{"id":165,"date":"2011-06-29T16:12:54","date_gmt":"2011-06-29T07:12:54","guid":{"rendered":"http:\/\/www.worldagency.jp\/wordpress\/?p=165"},"modified":"2011-06-29T16:13:59","modified_gmt":"2011-06-29T07:13:59","slug":"ec-cube-2-11-mysql%e3%81%a7%e6%96%87%e5%ad%97%e5%8c%96%e3%81%91%e5%af%be%e7%ad%96","status":"publish","type":"post","link":"https:\/\/www.worldagency.jp\/wordpress\/?p=165","title":{"rendered":"EC-CUBE 2.11 ; MySQL\u3067\u6587\u5b57\u5316\u3051\u5bfe\u7b56"},"content":{"rendered":"<p>EC-CUBE 2.11 \u3092 MySQL \u306b\u305d\u306e\u307e\u307e\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3059\u308b\u3068DB\u4e0a\u3067\u6587\u5b57\u5316\u3051\u3059\u308b\u3002\uff08WEB\u30d6\u30e9\u30a6\u30b6\u4e0a\u3067\u306f\u6587\u5b57\u5316\u3051\u3057\u306a\u3044\uff09<br \/>\n\u307e\u305a\u3001\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u306e\u969b\u306f\u2460\u306e\u3088\u3046\u306bEC-CUBE\u306e\u30bd\u30fc\u30b9\u30b3\u30fc\u30c9\u3092\u5909\u66f4\u3057\u305f\u3082\u306e\u3092\u5229\u7528\u3059\u308b\u3002<br \/>\n\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u5f8c\u306b\u6587\u5b57\u5316\u3051\u3092\u89e3\u6d88\u3055\u305b\u305f\u3044\u5834\u5408\u306f\u3001\u2461\u306e\u3088\u3046\u306bSQL\u30d5\u30a1\u30a4\u30eb\u306e\u6587\u5b57\u30b3\u30fc\u30c9\u3092\u66f8\u304d\u63db\u3048\u308b\u3002<\/p>\n<p><strong>\u2460EC-CUBE\u304cMySQL\u306bUTF8\u3067\u66f8\u304d\u3053\u3080\u8a2d\u5b9a<\/strong><br \/>\n\/data\/class\/SC_Query.php \u306e79\u884c\u76ee<\/p>\n<div class=\"codesample\">\n\/\/$this->conn->setCharset(CHAR_CODE);<br \/>\n$this->conn->setCharset(&#8216;utf8&#8217;);\n<\/div>\n<p><strong>\u2461EC-CUBE\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u5f8c\u306bSQL\u30d5\u30a1\u30a4\u30eb\u306e\u6587\u5b57\u30b3\u30fc\u30c9\u3092\u66f8\u304d\u63db\u3048\u308b\u65b9\u6cd5<\/strong><br \/>\n1.eccube_db\u3092\u30c0\u30f3\u30d7\u3057\u3066\u3001\u6587\u5b57\u30b3\u30fc\u30c9\u3092latin1\u304b\u3089utf8\u306b\u66f8\u304d\u63db\u3048\u308b<\/p>\n<div class=\"codesample\">\nmysqldump -u eccube_db_user -p eccube_db > eccube_db.sql &#8211;default-character-set=latin1<br \/>\nperl -pi -e &#8216;s\/latin1\/utf8\/&#8217; eccube_db.sql\n<\/div>\n<p>2.eccube_db \u3092\u4f5c\u308a\u76f4\u3059<\/p>\n<div class=\"codesample\">\nmysql -u eccube_db_user -p<br \/>\nmysql> drop database eccube_db;<br \/>\nmysql> create database eccube_db default character set utf8;<br \/>\nmysql> quit\n<\/div>\n","protected":false},"excerpt":{"rendered":"<p>EC-CUBE 2.11 \u3092 MySQL \u306b\u305d\u306e\u307e\u307e\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3059\u308b\u3068DB\u4e0a\u3067\u6587\u5b57\u5316\u3051\u3059\u308b\u3002\uff08WEB\u30d6\u30e9\u30a6\u30b6\u4e0a\u3067\u306f\u6587\u5b57\u5316\u3051\u3057\u306a\u3044\uff09 \u307e\u305a\u3001\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u306e\u969b\u306f\u2460\u306e\u3088\u3046\u306bEC-CUBE\u306e\u30bd\u30fc\u30b9\u30b3\u30fc\u30c9\u3092\u5909\u66f4\u3057\u305f\u3082\u306e\u3092\u5229\u7528\u3059\u308b\u3002 &hellip; <\/p>\n<p class=\"link-more\"><a href=\"https:\/\/www.worldagency.jp\/wordpress\/?p=165\" class=\"more-link\"><span class=\"screen-reader-text\">&#8220;EC-CUBE 2.11 ; MySQL\u3067\u6587\u5b57\u5316\u3051\u5bfe\u7b56&#8221; \u306e<\/span>\u7d9a\u304d\u3092\u8aad\u3080<\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[21],"tags":[],"class_list":["post-165","post","type-post","status-publish","format-standard","hentry","category-ec-cube"],"_links":{"self":[{"href":"https:\/\/www.worldagency.jp\/wordpress\/index.php?rest_route=\/wp\/v2\/posts\/165","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.worldagency.jp\/wordpress\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.worldagency.jp\/wordpress\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.worldagency.jp\/wordpress\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.worldagency.jp\/wordpress\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=165"}],"version-history":[{"count":2,"href":"https:\/\/www.worldagency.jp\/wordpress\/index.php?rest_route=\/wp\/v2\/posts\/165\/revisions"}],"predecessor-version":[{"id":167,"href":"https:\/\/www.worldagency.jp\/wordpress\/index.php?rest_route=\/wp\/v2\/posts\/165\/revisions\/167"}],"wp:attachment":[{"href":"https:\/\/www.worldagency.jp\/wordpress\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=165"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.worldagency.jp\/wordpress\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=165"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.worldagency.jp\/wordpress\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=165"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}