<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>ofsilvers</author_name>
  <author_url>https://blog.hatena.ne.jp/ofsilvers/</author_url>
  <blog_title>しるてく</blog_title>
  <blog_url>https://ofsilvers.hateblo.jp/</blog_url>
  <categories>
    <anon>MySQL</anon>
  </categories>
  <description>--init-fileというコマンドオプションがあるらしい。起動時にオプション付けてもいいし、my.cnfに書いてもいい。 Read SQL statements from this file at startup. Each statement must be on a single line and should not include comments. http://dev.mysql.com/doc/refman/5.5/en/server-options.html#option_mysqld_init-file たとえば、こんな感じに使える。 my.cnfに追記 init-file…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fofsilvers.hateblo.jp%2Fentry%2Fmysql-init-file&quot; title=&quot;MySQLの起動時にSQLを実行する - しるてく&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>2012-10-31 12:57:06</published>
  <title>MySQLの起動時にSQLを実行する</title>
  <type>rich</type>
  <url>https://ofsilvers.hateblo.jp/entry/mysql-init-file</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
