{"id":615,"date":"2014-06-30T00:21:52","date_gmt":"2014-06-29T15:21:52","guid":{"rendered":"http:\/\/tech.akat.info\/?p=615"},"modified":"2014-09-16T01:13:08","modified_gmt":"2014-09-15T16:13:08","slug":"%e3%80%90mysql%e3%80%91%e3%83%a6%e3%83%bc%e3%82%b6%e6%83%85%e5%a0%b1%e8%a1%a8%e7%a4%ba","status":"publish","type":"post","link":"https:\/\/tech.akat.info\/?p=615","title":{"rendered":"\u3010mysql\u3011\u30e6\u30fc\u30b6\u60c5\u5831\u8868\u793a"},"content":{"rendered":"<pre class=\"brush: plain; title: ; notranslate\" title=\"\">\r\nmysql&gt; use mysql;\r\nReading table information for completion of table and column names\r\nYou can turn off this feature to get a quicker startup with -A\r\n\r\nDatabase changed\r\nmysql&gt; select User,Host from mysql.user;\r\n+------------------+----------------+\r\n| User             | Host           |\r\n+------------------+----------------+\r\n| root             | 127.0.0.1      |\r\n| root             | ::1            |\r\n| debian-sys-maint | localhost      |\r\n| phpmyadmin       | localhost      |\r\n| root             | localhost      |\r\n| wordpress        | localhost      |\r\n+------------------+----------------+\r\n6 rows in set (0.04 sec)\r\n\r\n\r\nmysql&gt; SHOW GRANTS FOR wordpressuser@localhost;\r\n+------------------------------------------------------------------------------------------------------------------+\r\n| Grants for wordpress@localhost                                                                                   |\r\n+------------------------------------------------------------------------------------------------------------------+\r\n| GRANT USAGE ON *.* TO 'wordpress'@'localhost' IDENTIFIED BY PASSWORD '*40passwordCCC5F8CC9DBFF'\r\n| GRANT ALL PRIVILEGES ON `wordpressdb`.* TO 'wordpress'@'localhost' WITH GRANT OPTION                           \r\n+------------------------------------------------------------------------------------------------------------------+\r\n3 rows in set (0.00 sec)\r\n<\/pre>\n<p>\u3053\u3053\u3067\u5f97\u305fSQL\u6587\u3092\u4ed6\u306eDB\u306b\u3066\u5b9f\u884c\u3059\u308b\u3068\u3001\u540c\u3058\u60c5\u5831\u3092\u3082\u3063\u305f\u30e6\u30fc\u30b6\u3092\u4f5c\u6210\u3067\u304d\u308b<\/p>\n","protected":false},"excerpt":{"rendered":"<p>mysql&gt; use mysql; Reading table information for completion of table and column names You can turn off this  [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_monsterinsights_skip_tracking":false,"_monsterinsights_sitenote_active":false,"_monsterinsights_sitenote_note":"","_monsterinsights_sitenote_category":0,"footnotes":""},"categories":[14],"tags":[],"_links":{"self":[{"href":"https:\/\/tech.akat.info\/index.php?rest_route=\/wp\/v2\/posts\/615"}],"collection":[{"href":"https:\/\/tech.akat.info\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/tech.akat.info\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/tech.akat.info\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/tech.akat.info\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=615"}],"version-history":[{"count":1,"href":"https:\/\/tech.akat.info\/index.php?rest_route=\/wp\/v2\/posts\/615\/revisions"}],"predecessor-version":[{"id":616,"href":"https:\/\/tech.akat.info\/index.php?rest_route=\/wp\/v2\/posts\/615\/revisions\/616"}],"wp:attachment":[{"href":"https:\/\/tech.akat.info\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=615"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/tech.akat.info\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=615"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/tech.akat.info\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=615"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}