<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>reiki4040</author_name>
  <author_url>https://blog.hatena.ne.jp/reiki4040/</author_url>
  <blog_title>年中アイス</blog_title>
  <blog_url>https://reiki4040.hatenablog.com/</blog_url>
  <categories>
    <anon>MySQL</anon>
  </categories>
  <description>MySQLの権限追加でGRANT文を使った時に、DB接続障害を起こす失敗の仕方です。 GRANTSは、MySQLユーザに対しての権限を付与する構文です。 MySQL :: MySQL 5.6 Reference Manual :: 13.7.1.4 GRANT Syntax よく紹介されているのは、CREATE USERを使ってユーザを作ってから、GRANTで権限を付与する流れです。 ただ、GRANTで、うっかりホスト名を厳密にすると、DBに接続できなくなります。 何が起きるか 試していきます。2つのホストを使います。試す環境の準備は省略します。*1 192.168.50.11 mysql s…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Freiki4040.hatenablog.com%2Fentry%2F2015%2F08%2F25%2F215430&quot; title=&quot;GRANTで起こすDB接続障害 - 年中アイス&quot; class=&quot;embed-card embed-blogcard&quot; scrolling=&quot;no&quot; frameborder=&quot;0&quot; style=&quot;display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;&quot;&gt;&lt;/iframe&gt;</html>
  <image_url></image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2015-08-25 21:54:30</published>
  <title>GRANTで起こすDB接続障害</title>
  <type>rich</type>
  <url>https://reiki4040.hatenablog.com/entry/2015/08/25/215430</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
