<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>mask0702</author_name>
  <author_url>https://blog.hatena.ne.jp/mask0702/</author_url>
  <blog_title>くわこのpermission denied.</blog_title>
  <blog_url>https://mask.hatenadiary.com/</blog_url>
  <categories>
    <anon>MySQL</anon>
  </categories>
  <description>新しくDBを作ってデータを挿入しようとしたら Note: #1265 Data truncated for column 'created' at row 1 というエラーが起きた。調べてみるとどうやら挿入されようとしたデータがなんか想定してたより長いよ。的なエラーらしい。 僕の場合はレコードが作成された日時を入れるカラムにDATE型を指定していたのですが、そこに突っ込むデータはNOW()で取っていてTIMESTAMP型だったので、カラムの型指定をTIMESTAMPにしたら直りました。</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fmask.hatenadiary.com%2Fentry%2F2014%2F06%2F22%2F173729&quot; title=&quot;MySQLでNote: #1265 Data truncated for column &amp;#39;created&amp;#39; at row 1というエラーが出た - くわこのpermission denied.&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-06-22 17:37:29</published>
  <title>MySQLでNote: #1265 Data truncated for column 'created' at row 1というエラーが出た</title>
  <type>rich</type>
  <url>https://mask.hatenadiary.com/entry/2014/06/22/173729</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
