<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>akishin999</author_name>
  <author_url>https://blog.hatena.ne.jp/akishin999/</author_url>
  <blog_title>akishin999の日記</blog_title>
  <blog_url>https://akishin.hatenablog.jp/</blog_url>
  <categories>
    <anon>MySQL</anon>
  </categories>
  <description>久々の更新。 MySQL の特定のテーブルのデータ変更を検知して実行したい処理があったので、トリガを使ってなんとか出来ないか調べてみました。 system 関数を使う 最初 system 関数(\!) を使ってできそうな以下の記事を見つけました。MySQL :: Re: Can triggers call SYSTEM? http://forums.mysql.com/read.php?99,170973,236208#msg-236208が、mysql client 上からは上手く動くものの、アプリからの DB 変更に反応してくれず・・・。 ちょっと調べてみると以下のような記事がありました。…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fakishin.hatenablog.jp%2Fentry%2F20140920%2F1411218510&quot; title=&quot; MySQL のトリガからシェルスクリプトを実行する - akishin999の日記&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>2014-09-20 22:08:30</published>
  <title> MySQL のトリガからシェルスクリプトを実行する</title>
  <type>rich</type>
  <url>https://akishin.hatenablog.jp/entry/20140920/1411218510</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
