{"id":498,"date":"2018-01-20T21:05:54","date_gmt":"2018-01-20T12:05:54","guid":{"rendered":"https:\/\/yuis-programming.com\/?p=498"},"modified":"2020-01-08T21:24:56","modified_gmt":"2020-01-08T12:24:56","slug":"wordpress-%e3%83%87%e3%83%bc%e3%82%bf%e3%83%99%e3%83%bc%e3%82%b9%e3%81%8b%e3%82%89%e5%85%a8%e3%81%a6%e3%81%ae%e6%96%87%e5%ad%97%e3%82%92%e6%a4%9c%e7%b4%a2%e3%81%99%e3%82%8b","status":"publish","type":"post","link":"https:\/\/yuis-programming.com\/?p=498","title":{"rendered":"WP-CLI\u3092\u4f7f\u3063\u3066WordPress\u306e\u30c7\u30fc\u30bf\u30d9\u30fc\u30b9\u304b\u3089\u5168\u3066\u306e\u6587\u5b57\u3092\u691c\u7d22\u3059\u308b\u65b9\u6cd5"},"content":{"rendered":"<p>wpCLI\u306e<code>wp db export<\/code>\u3092\u4f7f\u7528\u3059\u308b\uff0e<\/p>\n<pre><code>wp db export\nSuccess: Exported to 'yuis_foobar.sql'\n\nrmate yuis_foobar.sql\n<\/code><\/pre>\n<p>\u843d\u3068\u3057\u305fsql\u30bd\u30fc\u30b9\u3092\u898b\u3066\u307f\u308b\uff0e<\/p>\n<p>\u691c\u7d22\u3057\u305f\u3044\u8a9e\u53e5\u3067\u691c\u7d22\u3059\u308b\u3068\uff0c\u305f\u304f\u3055\u3093\u30de\u30c3\u30c1\u3059\u308b\uff0e<\/p>\n<div id=\"toc_container\" class=\"no_bullets\"><p class=\"toc_title\">Contents<\/p><ul class=\"toc_list\"><li><a href=\"#i\"><span class=\"toc_number toc_depth_1\">1<\/span> \u7528\u9014<\/a><\/li><li><a href=\"#sql\"><span class=\"toc_number toc_depth_1\">2<\/span> sql\u3092\u4f7f\u7528\u3059\u308b\u5834\u5408<\/a><\/li><li><a href=\"#phpMyAdmin\"><span class=\"toc_number toc_depth_1\">3<\/span> phpMyAdmin\u304b\u3089\u691c\u7d22\u3059\u308b<\/a><\/li><\/ul><\/div>\n<h2><span id=\"i\">\u7528\u9014<\/span><\/h2>\n<p>\u624b\u9593\u3092\u7701\u304f\u305f\u3081\u306b\uff0c\u4e38\u3054\u3068\u30b3\u30d4\u30fc\u3057\u305f\u30b5\u30a4\u30c8\u3092\u96db\u5f62\u3068\u3057\u3066\u904b\u7528\u3057\u3066\u3044\u305f\u306e\u3060\u304c\uff0c\u3069\u3046\u3082\u3046\u307e\u304f\u691c\u7d22\u7d50\u679c\u306b\u4e0a\u304c\u3089\u306a\u3044\uff0e<br \/>\nSEO\u306f\u3057\u3063\u304b\u308a\u3057\u3066\u3044\u308b\u306e\u306b\u306a\u3041\u2026\u3068\u601d\u3063\u3066\u3044\u305f\u304c\uff0c\u3082\u3057\u304b\u3057\u3066\uff0c\u3068\u601d\u3044\uff0c\u30c7\u30fc\u30bf\u30d9\u30fc\u30b9\u5168\u4f53\u304b\u3089\u691c\u7d22\u3092\u639b\u3051\u3066\u307f\u308b\u3053\u3068\u306b\u3057\u305f\uff0e\u3059\u308b\u3068\uff0c\u6848\u306e\u5b9a\u4ee5\u524d\u306e\u30b5\u30a4\u30c8\u3067\u4f7f\u7528\u3057\u3066\u3044\u305fSEO\u30ad\u30fc\u30ef\u30fc\u30c9\u304c\u81f3\u308b\u6240\u3067\u898b\u3064\u304b\u308b\u3067\u306f\u306a\u3044\u304b\u2026(\u4eca\u56de\u306e\u5834\u5408\uff12\uff10\u7b87\u6240\u7a0b\u5ea6\u898b\u3064\u304b\u3063\u305f\uff0e)<br \/>\n\u3053\u308c\u304c\u539f\u56e0\u3068\u306f\u9650\u3089\u306a\u3044\u304c\uff0c\u6b63\u76f4\u539f\u56e0\u306e\u53ef\u80fd\u6027\u306f\u9ad8\u3044\uff0e<\/p>\n<p>\u3053\u3046\u3044\u3063\u305fSEO\u30ad\u30fc\u30ef\u30fc\u30c9\u6226\u7565\u306b\u5f79\u7acb\u3066\u308b\u4e8b\u304c\u3067\u304d\u308b\u306e\u3067\u306f\u3068\u601d\u3046\uff0e<\/p>\n<h2><span id=\"sql\">sql\u3092\u4f7f\u7528\u3059\u308b\u5834\u5408<\/span><\/h2>\n<p><code>wp db query<\/code>\u304c\u4f7f\u7528\u3067\u304d\u308b\uff0e<br \/>\n<code>~\/input.sql<\/code>\u306bsql\u3092\u8a18\u8ff0\u3057\uff0c<br \/>\n<code>wp db query &lt; ~\/input.sql<\/code>\u3068\u3059\u308b\uff0e<\/p>\n<p>\u5168\u3066\u306e\u30c6\u30fc\u30d6\u30eb\u306e\u3059\u3079\u3066\u306e\u8981\u7d20\u304b\u3089\u6587\u5b57\u5217\u3092\u691c\u7d22\u3059\u308bsql\u30b9\u30af\u30ea\u30d7\u30c8\u306e\u53c2\u8003\u306f\u4ee5\u4e0b\uff0e<\/p>\n<p>\u3059\u3079\u3066\u306e\u30c6\u30fc\u30d6\u30eb\u3001\u7279\u5b9a\u306e\u5024\u306e\u3059\u3079\u3066\u306e\u5217\u3092\u691c\u7d22\u3059\u308bSQL Server [\u8907\u88fd]<br \/>\n<a href=\"https:\/\/stackoverflow.com\/questions\/9185871\/how-to-search-sql-server-database-for-string\">https:\/\/stackoverflow.com\/questions\/9185871\/how-to-search-sql-server-database-for-string<\/a><br \/>\n<a href=\"https:\/\/stackoverflow.com\/questions\/1796506\/search-all-tables-all-columns-for-a-specific-value-sql-server\">https:\/\/stackoverflow.com\/questions\/1796506\/search-all-tables-all-columns-for-a-specific-value-sql-server<\/a><\/p>\n<h2><span id=\"phpMyAdmin\">phpMyAdmin\u304b\u3089\u691c\u7d22\u3059\u308b<\/span><\/h2>\n<p>phpMyAdmin\u306e&#8221;\u691c\u7d22&#8221; \u30bf\u30d6\u304b\u3089\u691c\u7d22\u3059\u308b\u3053\u3068\u3082\u53ef\u80fd\uff0e<br \/>\n\u305f\u3060\uff0c\u79c1\u306e\u74b0\u5883\u3067\u306f\u691c\u7d22\u3067\u304d\u306a\u304b\u3063\u305f\uff0e<\/p>\n","protected":false},"excerpt":{"rendered":"<p>wpCLI\u306ewp db export\u3092\u4f7f\u7528\u3059\u308b\uff0e wp db export Success: Exported [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"spay_email":"","jetpack_publicize_message":"","jetpack_is_tweetstorm":false},"categories":[53],"tags":[],"acf":[],"jetpack_featured_media_url":"","jetpack_publicize_connections":[],"jetpack_sharing_enabled":true,"jetpack_shortlink":"https:\/\/wp.me\/p8Rxwo-82","_links":{"self":[{"href":"https:\/\/yuis-programming.com\/index.php?rest_route=\/wp\/v2\/posts\/498"}],"collection":[{"href":"https:\/\/yuis-programming.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/yuis-programming.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/yuis-programming.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/yuis-programming.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=498"}],"version-history":[{"count":1,"href":"https:\/\/yuis-programming.com\/index.php?rest_route=\/wp\/v2\/posts\/498\/revisions"}],"predecessor-version":[{"id":2209,"href":"https:\/\/yuis-programming.com\/index.php?rest_route=\/wp\/v2\/posts\/498\/revisions\/2209"}],"wp:attachment":[{"href":"https:\/\/yuis-programming.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=498"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/yuis-programming.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=498"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/yuis-programming.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=498"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}