<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>tacohachi</author_name>
  <author_url>https://blog.hatena.ne.jp/tacohachi/</author_url>
  <blog_title>たこはちの「へのかっぱ」日記</blog_title>
  <blog_url>https://tacohachi.hatenadiary.org/</blog_url>
  <categories>
    <anon>MySQL</anon>
  </categories>
  <description>MySQLは、連続8時間接続し放しにしていると勝手にConnectionが切れるようだ。com.mysql.jdbc.exceptions.jdbc4.CommunicationsExceptionのようなエラーが出ていた。サーバ側でConnectionを延々と保持し続けることはできないと知った。connectしてから8時間なのか、最後にアクセスしてから8時間なのか、正確なところは調べていない。8時間という設定は延長できるのかもしれないが、少々延長できたとしても本質的な解決にはならない。接続が切れても再度connectすれば問題ないことは分かった。しかし、どのタイミングで再接続すればいいのか判…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Ftacohachi.hatenadiary.org%2Fentry%2F20101203%2Fp1&quot; title=&quot;MySQLは8時間でConnectionが切れる？ - たこはちの「へのかっぱ」日記&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>2010-12-03 00:00:00</published>
  <title>MySQLは8時間でConnectionが切れる？</title>
  <type>rich</type>
  <url>https://tacohachi.hatenadiary.org/entry/20101203/p1</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
