{"id":54,"date":"2010-04-09T18:07:06","date_gmt":"2010-04-09T09:07:06","guid":{"rendered":"http:\/\/helloidea.org\/?p=54"},"modified":"2014-02-23T03:38:41","modified_gmt":"2014-02-22T18:38:41","slug":"mysql%e3%81%a7%e3%83%87%e3%83%bc%e3%82%bf%e3%83%99%e3%83%bc%e3%82%b9%e3%81%ae%e3%83%90%e3%83%83%e3%82%af%e3%82%a2%e3%83%83%e3%83%97","status":"publish","type":"post","link":"https:\/\/helloidea.org\/index.php\/archives\/54.html","title":{"rendered":"MySQL\u306e\u30c7\u30fc\u30bf\u30d9\u30fc\u30b9 \u30d0\u30c3\u30af\u30a2\u30c3\u30d7"},"content":{"rendered":"<p>\u30c7\u30fc\u30bf\u30d9\u30fc\u30b9\u306e\u30d0\u30c3\u30af\u30a2\u30c3\u30d7\u65b9\u6cd5\u3092\u30e1\u30e2\u30e1\u30e2<\/p>\n<p><em><a href=\"http:\/\/helloidea.org\/wp-content\/uploads\/2010\/04\/sql1.png\"><\/a><\/em><\/p>\n<p><span class=\"hi-c-orange\"><strong> 1.\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u3054\u3068\u30d0\u30c3\u30af\u30a2\u30c3\u30d7<\/strong><\/span><\/p>\n<p><span class=\"hi-c-brown\"> 1. net stop mysql \u00a0 \u00a0-&gt; \u30b5\u30fc\u30d3\u30b9\u306e\u505c\u6b62<\/span><\/p>\n<p><span class=\"hi-c-brown\"> 2. \u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u3054\u3068\u30b3\u30d4\u30fc<\/span><\/p>\n<p>\u30c7\u30d5\u30a9\u30eb\u30c8\u3067\u306f C:\\Program Files\\MySQL\\MySQL Server 5.1 \u306emy.ini\u306b<br \/>\n\u30c7\u30fc\u30bf\u30d9\u30fc\u30b9\u306e\u4fdd\u5b58\u3057\u3066\u3042\u308b\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u304c\u66f8\u3044\u3066\u3042\u308a\u307e\u3059\u3002<br \/>\n#Path to the database root<br \/>\ndatadir= &#8220;&#8221;<\/p>\n<p><span class=\"hi-c-brown\"> 3. net start mysql \u00a0 \u00a0-&gt; \u30b5\u30fc\u30d3\u30b9\u306e\u518d\u958b<\/span><\/p>\n<p><span class=\"hi-c-orange\"><strong>2.SQL\u6587\u3067\u30d0\u30c3\u30af\u30a2\u30c3\u30d7<\/strong><\/span><\/p>\n<p>MYSQLDUMP\u30b3\u30de\u30f3\u30f3\u30c9\u3067\u30d0\u30c3\u30af\u30a2\u30c3\u30d7\u3057\u307e\u3059<\/p>\n<p>\u30fb\u30d0\u30c3\u30af\u30a2\u30c3\u30d7\u65b9\u6cd5<\/p>\n<blockquote><p>mysqldump -u root -p -x -f blog &gt; D:\\Back\\Database\\blog.dmp<\/p><\/blockquote>\n<p>\u30fb\u30ea\u30b9\u30c8\u30a2\u65b9\u6cd5<\/p>\n<blockquote><p>mysql -u root -p blog &lt; D:\\Back\\Database\\blog.dmp<\/p><\/blockquote>\n<p>\u5b9f\u969b\u306b\u5b9f\u9a13\u3057\u3066\u307f\u307e\u3059<\/p>\n<p>\u307e\u305a \u00a0\u30c7\u30fc\u30bf\u30d9\u30fc\u30b9 &#8220;test&#8221;\u00a0\u3092\u4f5c\u308a\u307e\u3059\u3002<\/p>\n<p>\u308f\u304b\u308a\u3084\u3059\u3044\u3088\u3046\u306b\u30c6\u30fc\u30d6\u30eb\u3092\u4e00\u3064\u4f5c\u6210\u3057\u3066\u304a\u304d\u307e\u3059\u3002<\/p>\n<p><a href=\"http:\/\/helloidea.org\/wp-content\/uploads\/2010\/04\/sql01.png\"><span><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-68\" title=\"sql01\" src=\"http:\/\/helloidea.org\/wp-content\/uploads\/2010\/04\/sql01.png\" alt=\"\" width=\"339\" height=\"435\" srcset=\"https:\/\/helloidea.org\/wp-content\/uploads\/2010\/04\/sql01.png 339w, https:\/\/helloidea.org\/wp-content\/uploads\/2010\/04\/sql01-233x300.png 233w\" sizes=\"auto, (max-width: 339px) 100vw, 339px\" \/><\/span><\/a><\/p>\n<p>\u6b21\u306b\u3001\u5b9f\u969b\u306b\u30d0\u30c3\u30af\u30a2\u30d7\u3057\u3066\u307f\u307e\u3059\u3002<\/p>\n<p><a href=\"http:\/\/helloidea.org\/wp-content\/uploads\/2010\/04\/sql02.png\"><span><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-69\" title=\"sql02\" src=\"http:\/\/helloidea.org\/wp-content\/uploads\/2010\/04\/sql02.png\" alt=\"\" width=\"514\" height=\"130\" srcset=\"https:\/\/helloidea.org\/wp-content\/uploads\/2010\/04\/sql02.png 514w, https:\/\/helloidea.org\/wp-content\/uploads\/2010\/04\/sql02-300x75.png 300w\" sizes=\"auto, (max-width: 514px) 100vw, 514px\" \/><\/span><\/a><\/p>\n<p>\u30c7\u30fc\u30bf\u30d9\u30fc\u30b9\u3092\u30c9\u30ed\u30c3\u30d7\u3057\u307e\u3059\u3002<\/p>\n<p><a href=\"http:\/\/helloidea.org\/wp-content\/uploads\/2010\/04\/sql03.png\"><span><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-70\" title=\"sql03\" src=\"http:\/\/helloidea.org\/wp-content\/uploads\/2010\/04\/sql03.png\" alt=\"\" width=\"339\" height=\"226\" srcset=\"https:\/\/helloidea.org\/wp-content\/uploads\/2010\/04\/sql03.png 339w, https:\/\/helloidea.org\/wp-content\/uploads\/2010\/04\/sql03-300x200.png 300w\" sizes=\"auto, (max-width: 339px) 100vw, 339px\" \/><\/span><\/a><\/p>\n<p>\u6700\u5f8c\u306b\u30ea\u30b9\u30c8\u30a2\u3057\u3066\u78ba\u8a8d\u3057\u307e\u3059<\/p>\n<p><span class=\"hi-c-green\">\u203b \u3042\u3089\u304b\u3058\u3081\u3001\u30ea\u30b9\u30c8\u30a2\u5148\u30c7\u30fc\u30bf\u30d9\u30fc\u30b9\u304c\u5b58\u5728\u3057\u306a\u3051\u308c\u3070\u3044\u3051\u307e\u305b\u3093<\/span><\/p>\n<p><span><a href=\"http:\/\/helloidea.org\/wp-content\/uploads\/2010\/04\/sql04.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-71\" title=\"sql04\" src=\"http:\/\/helloidea.org\/wp-content\/uploads\/2010\/04\/sql04.png\" alt=\"\" width=\"638\" height=\"490\" srcset=\"https:\/\/helloidea.org\/wp-content\/uploads\/2010\/04\/sql04.png 638w, https:\/\/helloidea.org\/wp-content\/uploads\/2010\/04\/sql04-300x230.png 300w\" sizes=\"auto, (max-width: 638px) 100vw, 638px\" \/><\/a><\/span><\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u30c7\u30fc\u30bf\u30d9\u30fc\u30b9\u306e\u30d0\u30c3\u30af\u30a2\u30c3\u30d7\u65b9\u6cd5\u3092\u30e1\u30e2\u30e1\u30e2 1.\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u3054\u3068\u30d0\u30c3\u30af\u30a2\u30c3\u30d7 1. net stop mysql \u00a0 \u00a0-&gt; \u30b5\u30fc\u30d3\u30b9\u306e\u505c\u6b62 2. \u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u3054\u3068\u30b3\u30d4\u30fc \u30c7\u30d5\u30a9\u30eb\u30c8\u3067\u306f C:\\Program Fil \u2026<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[49],"tags":[5,6],"class_list":["post-54","post","type-post","status-publish","format-standard","hentry","category-memo","tag-sql","tag-backup"],"_links":{"self":[{"href":"https:\/\/helloidea.org\/index.php\/wp-json\/wp\/v2\/posts\/54","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/helloidea.org\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/helloidea.org\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/helloidea.org\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/helloidea.org\/index.php\/wp-json\/wp\/v2\/comments?post=54"}],"version-history":[{"count":35,"href":"https:\/\/helloidea.org\/index.php\/wp-json\/wp\/v2\/posts\/54\/revisions"}],"predecessor-version":[{"id":1297,"href":"https:\/\/helloidea.org\/index.php\/wp-json\/wp\/v2\/posts\/54\/revisions\/1297"}],"wp:attachment":[{"href":"https:\/\/helloidea.org\/index.php\/wp-json\/wp\/v2\/media?parent=54"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/helloidea.org\/index.php\/wp-json\/wp\/v2\/categories?post=54"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/helloidea.org\/index.php\/wp-json\/wp\/v2\/tags?post=54"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}