<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>shim0mura</author_name>
  <author_url>https://blog.hatena.ne.jp/shim0mura/</author_url>
  <blog_title>tumblr</blog_title>
  <blog_url>https://shim0mura.hatenadiary.jp/</blog_url>
  <categories>
    <anon>データベース</anon>
  </categories>
  <description>logrotateでmysqlのログをローテーションさせたかったのだけど、 flush-logsできる権限持ったユーザーのパスワードを/etc/my.cnfに書いておくのは凄く嫌だったので、パスワードの部分だけ/root/.my.cnfに書いてそこから読むようにしたんだけど、こういうエラーが出た。 /usr/bin/mysqladmin: unknown variable 'defaults-extra-file=/root/.my.cnf' なんでだ？と思ったけど/etc/logrotate.d/mysqlのなかでflush-logsしてるコマンドは以下のようだったのがいけなかった。 $ /…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fshim0mura.hatenadiary.jp%2Fentry%2F20130812%2F1376302018&quot; title=&quot;mysqladminがdefaults-extra-fileを読んでくれない - tumblr&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>2013-08-12 19:06:58</published>
  <title>mysqladminがdefaults-extra-fileを読んでくれない</title>
  <type>rich</type>
  <url>https://shim0mura.hatenadiary.jp/entry/20130812/1376302018</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
