<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>Yuchi</author_name>
  <author_url>https://blog.hatena.ne.jp/Yuchi/</author_url>
  <blog_title>読書、仕事と食事、それと旅</blog_title>
  <blog_url>https://yuchi-2.hatenadiary.org/</blog_url>
  <categories>
    <anon>tips</anon>
  </categories>
  <description>ドキュメントが無いけどDBの登録データを見たい場合。 かつ、phpmyadmin など入れてない残念な時に。MySQLにログインして目的のDBを選んだ上で、以下を実施。 テーブル「tableName」の内容をカンマ区切り、ダブルクオーテーション囲みのCSVに出力する例 select * from `tableName` into outfile &quot;/path/to/folder/export.csv&quot; fields terminated by ',' OPTIONALLY ENCLOSED BY '&quot;'; 注：outfileの保存先はMySQLユーザーが書き込みOKな権限にしておく via. …</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fyuchi-2.hatenadiary.org%2Fentry%2F20110413%2F1302689358&quot; title=&quot;MySQLでテーブルの内容をCSVに落としたい - 読書、仕事と食事、それと旅&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>2011-04-13 19:09:18</published>
  <title>MySQLでテーブルの内容をCSVに落としたい</title>
  <type>rich</type>
  <url>https://yuchi-2.hatenadiary.org/entry/20110413/1302689358</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
