{"id":2581,"date":"2016-02-18T15:26:53","date_gmt":"2016-02-18T06:26:53","guid":{"rendered":"http:\/\/blog.rutake.com\/techmemo\/?p=2581"},"modified":"2016-02-18T15:26:53","modified_gmt":"2016-02-18T06:26:53","slug":"mysql-db%e3%82%84%e3%83%86%e3%83%bc%e3%83%96%e3%83%ab%e3%81%ae%e6%96%87%e5%ad%97%e3%82%b3%e3%83%bc%e3%83%89%e3%82%92%e7%a2%ba%e8%aa%8d%e3%81%99%e3%82%8b-show-create-table","status":"publish","type":"post","link":"https:\/\/blog.rutake.com\/techmemo\/2016\/02\/18\/mysql-db%e3%82%84%e3%83%86%e3%83%bc%e3%83%96%e3%83%ab%e3%81%ae%e6%96%87%e5%ad%97%e3%82%b3%e3%83%bc%e3%83%89%e3%82%92%e7%a2%ba%e8%aa%8d%e3%81%99%e3%82%8b-show-create-table\/","title":{"rendered":"MySQL DB\u3084\u30c6\u30fc\u30d6\u30eb\u306e\u6587\u5b57\u30b3\u30fc\u30c9\u3092\u78ba\u8a8d\u3059\u308b SHOW CREATE TABLE"},"content":{"rendered":"<p>MySQL\u306e\u30c0\u30f3\u30d7\u30d5\u30a1\u30a4\u30eb\u304c\u6587\u5b57\u5316\u3051\u3057\u3066\u3044\u306a\u3044\u306e\u306b\u3001\u6295\u5165\u3057\u305f\u6642\u306b\u6587\u5b57\u5316\u3051\u3059\u308b\u3068\u304d\u306f\u30c6\u30fc\u30d6\u30eb\u307e\u305f\u306f\u30c7\u30fc\u30bf\u30d9\u30fc\u30b9\u306e\u6587\u5b57\u30b3\u30fc\u30c9\u304clatin1\u306b\u306a\u3063\u3066\u3044\u306a\u3044\u304b\u3092show create\u6587\u3067\u78ba\u8a8d\u3059\u3079\u3057\uff01<\/p>\n<p>[sql]<br \/>\nmysql> show create database jira;<br \/>\n+&#8212;&#8212;&#8212;-+&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8211;+<br \/>\n| Database | Create Database                                                 |<br \/>\n+&#8212;&#8212;&#8212;-+&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8211;+<br \/>\n| jira     | CREATE DATABASE `jira` \/*!40100 DEFAULT CHARACTER SET latin1 *\/ |<br \/>\n+&#8212;&#8212;&#8212;-+&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8211;+<br \/>\n1 row in set (0.00 sec)<br \/>\n[\/sql]<\/p>\n<p>\u4e88\u60f3\u901a\u308alatin1\u306b\u306a\u3063\u3066\u3044\u3066\u3001\u65e5\u672c\u8a9e\u304c\u6587\u5b57\u5316\u3051\u3057\u3066\u3044\u305f\u3002<br \/>\n\u57fa\u672c\u7684\u306b\u30c6\u30fc\u30d6\u30eb\u4f5c\u6210\u6642\u306b\u6587\u5b57\u30b3\u30fc\u30c9\u3092\u6307\u5b9a\u3057\u306a\u3044\u3068\u3001\u30c7\u30fc\u30bf\u30d9\u30fc\u30b9\u306e\u8a2d\u5b9a\u3092\u53d7\u3051\u7d99\u3044\u3067\u3057\u307e\u3046\u3002<\/p>\n<p>\u3068\u3044\u3046\u308f\u3051\u3067database\u3092\u4f5c\u308a\u76f4\u3059\u3002<\/p>\n<p>[sql]<br \/>\nmysql> create database jira default charset utf8;<br \/>\nQuery OK, 1 row affected (0.00 sec)<\/p>\n<p>mysql> show create database jira;<br \/>\n+&#8212;&#8212;&#8212;-+&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;+<br \/>\n| Database | Create Database                                               |<br \/>\n+&#8212;&#8212;&#8212;-+&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;+<br \/>\n| jira     | CREATE DATABASE `jira` \/*!40100 DEFAULT CHARACTER SET utf8 *\/ |<br \/>\n+&#8212;&#8212;&#8212;-+&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;+<br \/>\n1 row in set (0.00 sec)<br \/>\n[\/sql]<\/p>\n<p>\u3053\u306e\u5f8c\u30c0\u30f3\u30d7SQL\u3092\u6295\u5165\u3057\u305f\u3089\u3001\u7121\u4e8b\u6587\u5b57\u5316\u3051\u89e3\u6d88\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"<p>MySQL\u306e\u30c0\u30f3\u30d7\u30d5\u30a1\u30a4\u30eb\u304c\u6587\u5b57\u5316\u3051\u3057\u3066\u3044\u306a\u3044\u306e\u306b\u3001\u6295\u5165\u3057\u305f\u6642\u306b\u6587\u5b57\u5316\u3051\u3059\u308b\u3068\u304d &hellip; <a href=\"https:\/\/blog.rutake.com\/techmemo\/2016\/02\/18\/mysql-db%e3%82%84%e3%83%86%e3%83%bc%e3%83%96%e3%83%ab%e3%81%ae%e6%96%87%e5%ad%97%e3%82%b3%e3%83%bc%e3%83%89%e3%82%92%e7%a2%ba%e8%aa%8d%e3%81%99%e3%82%8b-show-create-table\/\">\u7d9a\u304d\u3092\u8aad\u3080 <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[7,147],"tags":[423,312],"_links":{"self":[{"href":"https:\/\/blog.rutake.com\/techmemo\/wp-json\/wp\/v2\/posts\/2581"}],"collection":[{"href":"https:\/\/blog.rutake.com\/techmemo\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/blog.rutake.com\/techmemo\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/blog.rutake.com\/techmemo\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/blog.rutake.com\/techmemo\/wp-json\/wp\/v2\/comments?post=2581"}],"version-history":[{"count":1,"href":"https:\/\/blog.rutake.com\/techmemo\/wp-json\/wp\/v2\/posts\/2581\/revisions"}],"predecessor-version":[{"id":2582,"href":"https:\/\/blog.rutake.com\/techmemo\/wp-json\/wp\/v2\/posts\/2581\/revisions\/2582"}],"wp:attachment":[{"href":"https:\/\/blog.rutake.com\/techmemo\/wp-json\/wp\/v2\/media?parent=2581"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blog.rutake.com\/techmemo\/wp-json\/wp\/v2\/categories?post=2581"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blog.rutake.com\/techmemo\/wp-json\/wp\/v2\/tags?post=2581"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}