<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>i178inaba</author_name>
  <author_url>https://blog.hatena.ne.jp/i178inaba/</author_url>
  <blog_title>Technology Engineering</blog_title>
  <blog_url>https://inaba.hatenablog.com/</blog_url>
  <categories>
  </categories>
  <description>inabaです。 MariaDBをHomebrewでインストールして使っていたのですが、 NOT NULL制約のカラムにDEFAULT NULLが設定されていると、INSERT時に値を設定していないカラムにNULLが入ってしまうという事がありました。 これはStrictモードが設定されていると起きないそうなので、Strictモードの設定をします。 デフォルトのsql_mode Strictモードはmysqlにログイン後、sql_modeの値で設定されているか確認できます。 MariaDB [(none)]&gt; SELECT @@SQL_MODE, @@GLOBAL.SQL_MODE; +----…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Finaba.hatenablog.com%2Fentry%2F2017%2F01%2F05%2F021343&quot; title=&quot;HomebrewでインストールしたMariaDBをStrictモードに設定 - Technology Engineering&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>2017-01-05 02:13:43</published>
  <title>HomebrewでインストールしたMariaDBをStrictモードに設定</title>
  <type>rich</type>
  <url>https://inaba.hatenablog.com/entry/2017/01/05/021343</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
