{"blog_title":"\u30e1\u30e2","categories":[],"title":"mysqldump\u3067drop\u6587\u304c\u4f5c\u3089\u308c\u308b\u306e\u304c\u6016\u3044","version":"1.0","description":"\u672c\u756a\u74b0\u5883\u306e\u30c6\u30fc\u30d6\u30eb\u3092\u30ed\u30fc\u30ab\u30eb\u306b\u3082\u69cb\u7bc9\u3057\u305f\u304f\u3066mysqldump\u3059\u308b\u3068\u304d mysqldump -u \u30e6\u30fc\u30b6\u30fc\u540d -p --no-data \u30c7\u30fc\u30bf\u30d9\u30fc\u30b9\u540d > \u30d0\u30c3\u30af\u30a2\u30c3\u30d7\u30d5\u30a1\u30a4\u30eb\u540d \u3053\u3046\u3084\u3063\u3066\u305f\u3093\u3060\u3051\u3069\u3001drop table\u6587\u304ccreate\u6587\u306e\u307e\u3048\u306b\u3064\u304f\u304b\u3089 \u4e07\u304c\u4e00\u672c\u756a\u74b0\u5883\u3067\u5b9f\u884c\u3057\u305f\u3089\u6016\u3044\u306a\u30fc\u3063\u3066\u601d\u3063\u3066\u305f\u3089 skip-add-drop-table\u3068\u3044\u3046\u30aa\u30d7\u30b7\u30e7\u30f3\u304c\u3042\u308b\u307f\u305f\u3044\u3067\u3059\u3002 mysqldump -u \u30e6\u30fc\u30b6\u30fc\u540d -p --no-data --skip-add-drop-table \u30c7\u30fc\u30bf\u30d9\u30fc\u30b9\u540d > \u30d0\u30c3\u30af\u30a2\u30c3\u30d7\u30d5\u30a1\u30a4\u30eb\u540d","provider_name":"Hatena Blog","published":"2015-03-27 02:10:16","provider_url":"https://hatena.blog","author_name":"mijusawa","type":"rich","url":"https://mijusawa.hatenadiary.org/entry/20150327/1427476216","author_url":"https://blog.hatena.ne.jp/mijusawa/","blog_url":"https://mijusawa.hatenadiary.org/","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fmijusawa.hatenadiary.org%2Fentry%2F20150327%2F1427476216\" title=\"mysqldump\u3067drop\u6587\u304c\u4f5c\u3089\u308c\u308b\u306e\u304c\u6016\u3044 - \u30e1\u30e2\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","image_url":null,"width":"100%","height":"190"}