{"id":6872,"date":"2022-06-16T21:46:10","date_gmt":"2022-06-16T12:46:10","guid":{"rendered":"https:\/\/www.xenos.jp\/~zen\/blog2\/?p=6872"},"modified":"2022-06-16T21:46:11","modified_gmt":"2022-06-16T12:46:11","slug":"post-6872","status":"publish","type":"post","link":"https:\/\/www.xenos.jp\/~zen\/blog2\/index.php\/2022\/06\/16\/post-6872\/","title":{"rendered":"MySQL\u306e\u30e6\u30fc\u30b6\u3092\u8abf\u3079\u308b"},"content":{"rendered":"\n<p>MySQL\u306b\u767b\u9332\u3055\u308c\u3066\u3044\u308b\u30e6\u30fc\u30b6\u3092\u8abf\u3079\u308b\u306b\u306f\u3001mysql\u30c7\u30fc\u30bf\u30d9\u30fc\u30b9\u3092\u9078\u629e\u3057\u3066\u3001\u4e0b\u8a18\u306eSQL\u6587\u3092\u5b9f\u884c\u3059\u308b\u3002<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>SELECT Host, User FROM user;<\/code><\/pre>\n\n\n\n<p>Host\u304c\u300c%\u300d\u306e\u3082\u306e\u306f\u63a5\u7d9a\u5236\u9650\u306a\u3057\u3002localhost\u3084IP\u30a2\u30c9\u30ec\u30b9\u304c\u6307\u5b9a\u3055\u308c\u3066\u3044\u308b\u3082\u306e\u306f\u3001\u305d\u306e\u30db\u30b9\u30c8\u304b\u3089\u306e\u63a5\u7d9a\u306e\u307f\u306b\u5236\u9650\u3055\u308c\u3066\u3044\u308b\u3002<\/p>\n\n\n\n<p>\u5b9f\u884c\u4f8b\uff09<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>MySQL &#91;mysql]> use mysql; \nMySQL &#91;mysql]> SELECT Host, User FROM user; \n+-----------+---------------+ \n| Host      | User          | \n+-----------+---------------+ \n| %         | testuser         | \n| %         | root          | \n| %         | kuro3       | \n| localhost | mysql.session | \n| localhost | mysql.sys     | \n| localhost | root          | \n+-----------+---------------+ \n6 rows in set (0.145 sec) \nMySQL &#91;mysql]><\/code><\/pre>\n","protected":false},"excerpt":{"rendered":"<p>MySQL\u306b\u767b\u9332\u3055\u308c\u3066\u3044\u308b\u30e6\u30fc\u30b6\u3092\u8abf\u3079\u308b\u306b\u306f\u3001mysql\u30c7\u30fc\u30bf\u30d9\u30fc\u30b9\u3092\u9078\u629e\u3057\u3066\u3001\u4e0b\u8a18\u306eSQL\u6587\u3092\u5b9f\u884c\u3059\u308b\u3002 Host\u304c\u300c%\u300d\u306e\u3082\u306e\u306f\u63a5\u7d9a\u5236\u9650\u306a\u3057\u3002localhost\u3084IP\u30a2\u30c9\u30ec\u30b9\u304c\u6307\u5b9a\u3055\u308c\u3066\u3044\u308b\u3082\u306e\u306f\u3001\u305d\u306e\u30db\u30b9\u30c8\u304b\u3089\u306e\u63a5 [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[7],"tags":[38,49],"class_list":["post-6872","post","type-post","status-publish","format-standard","hentry","category-tech-memo","tag-mariadb","tag-mysql"],"_links":{"self":[{"href":"https:\/\/www.xenos.jp\/~zen\/blog2\/index.php\/wp-json\/wp\/v2\/posts\/6872","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.xenos.jp\/~zen\/blog2\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.xenos.jp\/~zen\/blog2\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.xenos.jp\/~zen\/blog2\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.xenos.jp\/~zen\/blog2\/index.php\/wp-json\/wp\/v2\/comments?post=6872"}],"version-history":[{"count":2,"href":"https:\/\/www.xenos.jp\/~zen\/blog2\/index.php\/wp-json\/wp\/v2\/posts\/6872\/revisions"}],"predecessor-version":[{"id":6884,"href":"https:\/\/www.xenos.jp\/~zen\/blog2\/index.php\/wp-json\/wp\/v2\/posts\/6872\/revisions\/6884"}],"wp:attachment":[{"href":"https:\/\/www.xenos.jp\/~zen\/blog2\/index.php\/wp-json\/wp\/v2\/media?parent=6872"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.xenos.jp\/~zen\/blog2\/index.php\/wp-json\/wp\/v2\/categories?post=6872"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.xenos.jp\/~zen\/blog2\/index.php\/wp-json\/wp\/v2\/tags?post=6872"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}