<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>KDX</author_name>
  <author_url>https://blog.hatena.ne.jp/KDX/</author_url>
  <blog_title>悠久の「近いうち」</blog_title>
  <blog_url>https://yuuchika.com/</blog_url>
  <categories>
    <anon>CentOS</anon>
    <anon>IT系</anon>
    <anon>Linux</anon>
    <anon>MariaDB</anon>
    <anon>MySQL</anon>
    <anon>out of memory</anon>
    <anon>swap</anon>
    <anon>WordPress</anon>
    <anon>接続エラー</anon>
  </categories>
  <description>昨日立てたWordPressをいじろうとアクセスしてみたら、&quot;データベース接続エラー&quot;で死んでた…。 原因調査 同一サーバ内で立ててる別サイトもDBからデータ取得ができておらずMariaDBが死んでるんだろうな、と調査開始。 # mysql -u root -p でコンソールから接続を試みるも、 ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (111) と返ってきてアクセス不可。 MariaDBのstop→startを試すも、startでコケる…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fyuuchika.com%2Fmariadb_swap%2F&quot; title=&quot;MariaDB(MySQL)のメモリ不足問題を対策 - 悠久の「近いうち」&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>2018-06-03 12:50:29</published>
  <title>MariaDB(MySQL)のメモリ不足問題を対策</title>
  <type>rich</type>
  <url>https://yuuchika.com/mariadb_swap/</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
