<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>tky_bpp</author_name>
  <author_url>https://blog.hatena.ne.jp/tky_bpp/</author_url>
  <blog_title>BppLOG</blog_title>
  <blog_url>https://tkybpp.hatenablog.com/</blog_url>
  <categories>
    <anon>プログラミング</anon>
  </categories>
  <description>ローカル上のアプリケーションからDockerコンテナ内にあるMySQLサーバに接続する箇所でエラーが発生していました。 そこでターミナルから直接MySQLサーバに接続できるか確認してみます。 $ mysql -u root -h 127.0.0.1 --port 23456 devdb ERROR 2013 (HY000): Lost connection to MySQL server at 'reading initial communication packet', system error: 0むむ、どうやら繋がらない模様。</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Ftkybpp.hatenablog.com%2Fentry%2F2016%2F12%2F27%2F120000&quot; title=&quot;Dockerコンテナ内のMySQLサーバ接続時のエラーに対応する &amp;gt; &amp;quot;ERROR 2013 (HY000): Lost connection to MySQL server at &amp;#39;reading initial communication packet&amp;#39;, system error: 0&amp;quot; - BppLOG&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>https://cdn.blog.st-hatena.com/images/theme/og-image-1500.png</image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2016-12-27 12:00:00</published>
  <title>Dockerコンテナ内のMySQLサーバ接続時のエラーに対応する &gt; &quot;ERROR 2013 (HY000): Lost connection to MySQL server at 'reading initial communication packet', system error: 0&quot;</title>
  <type>rich</type>
  <url>https://tkybpp.hatenablog.com/entry/2016/12/27/120000</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
