<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>renkin3q</author_name>
  <author_url>https://blog.hatena.ne.jp/renkin3q/</author_url>
  <blog_title>仮運用中</blog_title>
  <blog_url>https://renkin3q.hatenablog.jp/</blog_url>
  <categories>
    <anon>PHP</anon>
  </categories>
  <description>原因 PDO SQLite の仕様。 https://stackoverflow.com/questions/40618805/php-pdo-sqlite-connection 自動作成を無効にする方法 そんなものはない。 対策 データベースファイルの有無を確認してから、new PDO() を実行するようにする。 if (file_exists('a.sqlite3')) { $pdo = new PDO('sqlite:a.sqlite3'); }</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Frenkin3q.hatenablog.jp%2Fentry%2F2019%2F09%2F09%2F110820&quot; title=&quot;new PDO(&amp;#39;sqlite:~&amp;#39;) 実行時にデータベースファイルが勝手に作られる - 仮運用中&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>2019-09-09 11:08:20</published>
  <title>new PDO('sqlite:~') 実行時にデータベースファイルが勝手に作られる</title>
  <type>rich</type>
  <url>https://renkin3q.hatenablog.jp/entry/2019/09/09/110820</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
