<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>TACOSVilledge</author_name>
  <author_url>https://blog.hatena.ne.jp/TACOSVilledge/</author_url>
  <blog_title>鶏口牛後な日々</blog_title>
  <blog_url>https://tacosvilledge.hatenablog.com/</blog_url>
  <categories>
    <anon>MySQL</anon>
  </categories>
  <description>確認方法 show variables like 'chara%'; これで、今現在の文字コードがどうなっているか確認できる。 文字コードは、サーバー、データベース、カラムといったそれぞれの単位で設定できる。 デフォルトの文字コードを変える場合、 /etc/my.cnf に設定を書き込むことで、mysql全体の設定を指定することができる。 この時、設定に書いた一文はこんな感じ。 character-set-database = utf8mb4 この時、少なくとも、 _ （アンダースコア）は、ダメっぽかったので、 - （ハイフン）に変えておいた。 ただ、この時の書き方がうまくいかないと、設定書き…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Ftacosvilledge.hatenablog.com%2Fentry%2F2018%2F10%2F26%2F174045&quot; title=&quot;MySQLで文字コードを直す時のmy.cnfの書き方 - 鶏口牛後な日々&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>https://cdn-ak.f.st-hatena.com/images/fotolife/T/TACOSVilledge/20181026/20181026173113.png</image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2018-10-26 17:40:45</published>
  <title>MySQLで文字コードを直す時のmy.cnfの書き方</title>
  <type>rich</type>
  <url>https://tacosvilledge.hatenablog.com/entry/2018/10/26/174045</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
