"Fossies" - the Fresh Open Source Software Archive

Member "phpMyAdmin-5.0.1-all-languages/doc/html/import_export.html" (7 Jan 2020, 27558 Bytes) of package /linux/www/phpMyAdmin-5.0.1-all-languages.zip:


The requested HTML page contains a <FORM> tag that is unusable on "Fossies" in "automatic" (rendered) mode so that page is shown as HTML source code syntax highlighting (style: standard) with prefixed line numbers. Alternatively you can here view or download the uninterpreted source code file.

    1 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
    2   "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    3 
    4 
    5 <html xmlns="http://www.w3.org/1999/xhtml">
    6   <head>
    7     <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    8     
    9     <title>Import and export &#8212; phpMyAdmin 5.0.1 documentation</title>
   10     
   11     <link rel="stylesheet" href="_static/classic.css" type="text/css" />
   12     <link rel="stylesheet" href="_static/pygments.css" type="text/css" />
   13     
   14     <script type="text/javascript">
   15       var DOCUMENTATION_OPTIONS = {
   16         URL_ROOT:    './',
   17         VERSION:     '5.0.1',
   18         COLLAPSE_INDEX: false,
   19         FILE_SUFFIX: '.html',
   20         HAS_SOURCE:  true
   21       };
   22     </script>
   23     <script type="text/javascript" src="_static/jquery.js"></script>
   24     <script type="text/javascript" src="_static/underscore.js"></script>
   25     <script type="text/javascript" src="_static/doctools.js"></script>
   26     <link rel="index" title="Index" href="genindex.html" />
   27     <link rel="search" title="Search" href="search.html" />
   28     <link rel="copyright" title="Copyright" href="copyright.html" />
   29     <link rel="top" title="phpMyAdmin 5.0.1 documentation" href="index.html" />
   30     <link rel="up" title="User Guide" href="user.html" />
   31     <link rel="next" title="Custom Themes" href="themes.html" />
   32     <link rel="prev" title="Charts" href="charts.html" /> 
   33   </head>
   34   <body role="document">
   35     <div class="related" role="navigation" aria-label="related navigation">
   36       <h3>Navigation</h3>
   37       <ul>
   38         <li class="right" style="margin-right: 10px">
   39           <a href="genindex.html" title="General Index"
   40              accesskey="I">index</a></li>
   41         <li class="right" >
   42           <a href="themes.html" title="Custom Themes"
   43              accesskey="N">next</a> |</li>
   44         <li class="right" >
   45           <a href="charts.html" title="Charts"
   46              accesskey="P">previous</a> |</li>
   47         <li class="nav-item nav-item-0"><a href="index.html">phpMyAdmin 5.0.1 documentation</a> &#187;</li>
   48           <li class="nav-item nav-item-1"><a href="user.html" accesskey="U">User Guide</a> &#187;</li> 
   49       </ul>
   50     </div>  
   51 
   52     <div class="document">
   53       <div class="documentwrapper">
   54         <div class="bodywrapper">
   55           <div class="body" role="main">
   56             
   57   <div class="section" id="import-and-export">
   58 <h1>Import and export<a class="headerlink" href="#import-and-export" title="Permalink to this headline"></a></h1>
   59 <div class="section" id="import">
   60 <h2>Import<a class="headerlink" href="#import" title="Permalink to this headline"></a></h2>
   61 <p>To import data, go to the &#8220;Import&#8221; tab in phpMyAdmin. To import data into a
   62 specific database or table, open the database or table before going to the
   63 &#8220;Import&#8221; tab.</p>
   64 <p>In addition to the standard Import and Export tab, you can also import an SQL
   65 file directly by dragging and dropping it from your local file manager to the
   66 phpMyAdmin interface in your web browser.</p>
   67 <p>If you are having troubles importing big files, please consult <a class="reference internal" href="faq.html#faq1-16"><span class="std std-ref">1.16 I cannot upload big dump files (memory, HTTP or timeout problems).</span></a>.</p>
   68 <p>You can import using following methods:</p>
   69 <p>Form based upload</p>
   70 <blockquote>
   71 <div>Can be used with any supported format, also (b|g)zipped files, e.g., mydump.sql.gz .</div></blockquote>
   72 <p>Form based SQL Query</p>
   73 <blockquote>
   74 <div>Can be used with valid SQL dumps.</div></blockquote>
   75 <p>Using upload directory</p>
   76 <blockquote>
   77 <div>You can specify an upload directory on your web server where phpMyAdmin is installed, after uploading your file into this directory you can select this file in the import dialog of phpMyAdmin, see <span class="target" id="index-0"></span><a class="reference internal" href="config.html#cfg_UploadDir"><code class="xref config config-option docutils literal"><span class="pre">$cfg['UploadDir']</span></code></a>.</div></blockquote>
   78 <p>phpMyAdmin can import from several various commonly used formats.</p>
   79 <div class="section" id="csv">
   80 <h3>CSV<a class="headerlink" href="#csv" title="Permalink to this headline"></a></h3>
   81 <p>Comma separated values format which is often used by spreadsheets or various other programs for export/import.</p>
   82 <div class="admonition note">
   83 <p class="first admonition-title">Note</p>
   84 <p class="last">When importing data into a table from a CSV file where the table has an
   85 &#8216;auto_increment&#8217; field, make the &#8216;auto_increment&#8217; value for each record in
   86 the CSV field to be &#8216;0&#8217; (zero). This allows the &#8216;auto_increment&#8217; field to
   87 populate correctly.</p>
   88 </div>
   89 <p>It is now possible to import a CSV file at the server or database level.
   90 Instead of having to create a table to import the CSV file into, a best-fit
   91 structure will be determined for you and the data imported into it, instead.
   92 All other features, requirements, and limitations are as before.</p>
   93 </div>
   94 <div class="section" id="csv-using-load-data">
   95 <h3>CSV using LOAD DATA<a class="headerlink" href="#csv-using-load-data" title="Permalink to this headline"></a></h3>
   96 <p>Similar to CSV, only using the internal MySQL parser and not the phpMyAdmin one.</p>
   97 </div>
   98 <div class="section" id="esri-shape-file">
   99 <h3>ESRI Shape File<a class="headerlink" href="#esri-shape-file" title="Permalink to this headline"></a></h3>
  100 <p>The ESRI shapefile or simply a shapefile is a popular geospatial vector data
  101 format for geographic information systems software. It is developed and
  102 regulated by Esri as a (mostly) open specification for data interoperability
  103 among Esri and other software products.</p>
  104 </div>
  105 <div class="section" id="mediawiki">
  106 <h3>MediaWiki<a class="headerlink" href="#mediawiki" title="Permalink to this headline"></a></h3>
  107 <p>MediaWiki files, which can be exported by phpMyAdmin (version 4.0 or later),
  108 can now also be imported. This is the format used by Wikipedia to display
  109 tables.</p>
  110 </div>
  111 <div class="section" id="open-document-spreadsheet-ods">
  112 <h3>Open Document Spreadsheet (ODS)<a class="headerlink" href="#open-document-spreadsheet-ods" title="Permalink to this headline"></a></h3>
  113 <p>OpenDocument workbooks containing one or more spreadsheets can now be directly imported.</p>
  114 <p>When importing an ODS speadsheet, the spreadsheet must be named in a specific way in order to make the
  115 import as simple as possible.</p>
  116 <div class="section" id="table-name">
  117 <h4>Table name<a class="headerlink" href="#table-name" title="Permalink to this headline"></a></h4>
  118 <p>During import, phpMyAdmin uses the sheet name as the table name; you should rename the
  119 sheet in your spreadsheet program in order to match your existing table name (or the table you wish to create,
  120 though this is less of a concern since you could quickly rename the new table from the Operations tab).</p>
  121 </div>
  122 <div class="section" id="column-names">
  123 <h4>Column names<a class="headerlink" href="#column-names" title="Permalink to this headline"></a></h4>
  124 <p>You should also make the first row of your spreadsheet a header with the names of the columns (this can be
  125 accomplished by inserting a new row at the top of your spreadsheet). When on the Import screen, select the
  126 checkbox for &#8220;The first line of the file contains the table column names;&#8221; this way your newly imported
  127 data will go to the proper columns.</p>
  128 <div class="admonition note">
  129 <p class="first admonition-title">Note</p>
  130 <p class="last">Formulas and calculations will NOT be evaluated, rather, their value from
  131 the most recent save will be loaded. Please ensure that all values in the
  132 spreadsheet are as needed before importing it.</p>
  133 </div>
  134 </div>
  135 </div>
  136 <div class="section" id="sql">
  137 <h3>SQL<a class="headerlink" href="#sql" title="Permalink to this headline"></a></h3>
  138 <p>SQL can be used to make any manipulation on data, it is also useful for restoring backed up data.</p>
  139 </div>
  140 <div class="section" id="xml">
  141 <h3>XML<a class="headerlink" href="#xml" title="Permalink to this headline"></a></h3>
  142 <p>XML files exported by phpMyAdmin (version 3.3.0 or later) can now be imported.
  143 Structures (databases, tables, views, triggers, etc.) and/or data will be
  144 created depending on the contents of the file.</p>
  145 <p>The supported xml schemas are not yet documented in this wiki.</p>
  146 </div>
  147 </div>
  148 <div class="section" id="export">
  149 <h2>Export<a class="headerlink" href="#export" title="Permalink to this headline"></a></h2>
  150 <p>phpMyAdmin can export into text files (even compressed) on your local disk (or
  151 a special the webserver <span class="target" id="index-1"></span><a class="reference internal" href="config.html#cfg_SaveDir"><code class="xref config config-option docutils literal"><span class="pre">$cfg['SaveDir']</span></code></a> folder) in various
  152 commonly used formats:</p>
  153 <div class="section" id="codegen">
  154 <h3>CodeGen<a class="headerlink" href="#codegen" title="Permalink to this headline"></a></h3>
  155 <p><a class="reference external" href="https://en.wikipedia.org/wiki/NHibernate">NHibernate</a> file format. Planned
  156 versions: Java, Hibernate, PHP PDO, JSON, etc. So the preliminary name is
  157 codegen.</p>
  158 </div>
  159 <div class="section" id="id1">
  160 <h3>CSV<a class="headerlink" href="#id1" title="Permalink to this headline"></a></h3>
  161 <p>Comma separated values format which is often used by spreadsheets or various
  162 other programs for export/import.</p>
  163 </div>
  164 <div class="section" id="csv-for-microsoft-excel">
  165 <h3>CSV for Microsoft Excel<a class="headerlink" href="#csv-for-microsoft-excel" title="Permalink to this headline"></a></h3>
  166 <p>This is just preconfigured version of CSV export which can be imported into
  167 most English versions of Microsoft Excel. Some localised versions (like
  168 &#8220;Danish&#8221;) are expecting &#8221;;&#8221; instead of &#8221;,&#8221; as field separator.</p>
  169 </div>
  170 <div class="section" id="microsoft-word-2000">
  171 <h3>Microsoft Word 2000<a class="headerlink" href="#microsoft-word-2000" title="Permalink to this headline"></a></h3>
  172 <p>If you&#8217;re using Microsoft Word 2000 or newer (or compatible such as
  173 OpenOffice.org), you can use this export.</p>
  174 </div>
  175 <div class="section" id="json">
  176 <h3>JSON<a class="headerlink" href="#json" title="Permalink to this headline"></a></h3>
  177 <p>JSON (JavaScript Object Notation) is a lightweight data-interchange format. It
  178 is easy for humans to read and write and it is easy for machines to parse and
  179 generate.</p>
  180 <div class="versionchanged">
  181 <p><span class="versionmodified">Changed in version 4.7.0: </span>The generated JSON structure has been changed in phpMyAdmin 4.7.0 to
  182 produce valid JSON data.</p>
  183 </div>
  184 <p>The generated JSON is list of objects with following attributes:</p>
  185 <dl class="data">
  186 <dt id="type">
  187 <code class="descname">type</code><a class="headerlink" href="#type" title="Permalink to this definition"></a></dt>
  188 <dd><p>Type of given object, can be one of:</p>
  189 <dl class="docutils">
  190 <dt><code class="docutils literal"><span class="pre">header</span></code></dt>
  191 <dd>Export header containing comment and phpMyAdmin version.</dd>
  192 <dt><code class="docutils literal"><span class="pre">database</span></code></dt>
  193 <dd>Start of a database marker, containing name of database.</dd>
  194 <dt><code class="docutils literal"><span class="pre">table</span></code></dt>
  195 <dd>Table data export.</dd>
  196 </dl>
  197 </dd></dl>
  198 
  199 <dl class="data">
  200 <dt id="version">
  201 <code class="descname">version</code><a class="headerlink" href="#version" title="Permalink to this definition"></a></dt>
  202 <dd><p>Used in <code class="docutils literal"><span class="pre">header</span></code> <a class="reference internal" href="#type" title="type"><code class="xref js js-data docutils literal"><span class="pre">type</span></code></a> and indicates phpMyAdmin version.</p>
  203 </dd></dl>
  204 
  205 <dl class="data">
  206 <dt id="comment">
  207 <code class="descname">comment</code><a class="headerlink" href="#comment" title="Permalink to this definition"></a></dt>
  208 <dd><p>Optional textual comment.</p>
  209 </dd></dl>
  210 
  211 <dl class="data">
  212 <dt id="name">
  213 <code class="descname">name</code><a class="headerlink" href="#name" title="Permalink to this definition"></a></dt>
  214 <dd><p>Object name - either table or database based on <a class="reference internal" href="#type" title="type"><code class="xref js js-data docutils literal"><span class="pre">type</span></code></a>.</p>
  215 </dd></dl>
  216 
  217 <dl class="data">
  218 <dt id="database">
  219 <code class="descname">database</code><a class="headerlink" href="#database" title="Permalink to this definition"></a></dt>
  220 <dd><p>Database name for <code class="docutils literal"><span class="pre">table</span></code> <a class="reference internal" href="#type" title="type"><code class="xref js js-data docutils literal"><span class="pre">type</span></code></a>.</p>
  221 </dd></dl>
  222 
  223 <dl class="data">
  224 <dt id="data">
  225 <code class="descname">data</code><a class="headerlink" href="#data" title="Permalink to this definition"></a></dt>
  226 <dd><p>Table content for <code class="docutils literal"><span class="pre">table</span></code> <a class="reference internal" href="#type" title="type"><code class="xref js js-data docutils literal"><span class="pre">type</span></code></a>.</p>
  227 </dd></dl>
  228 
  229 <p>Sample output:</p>
  230 <div class="highlight-json"><div class="highlight"><pre><span></span><span class="p">[</span>
  231     <span class="p">{</span>
  232         <span class="nt">&quot;comment&quot;</span><span class="p">:</span> <span class="s2">&quot;Export to JSON plugin for PHPMyAdmin&quot;</span><span class="p">,</span>
  233         <span class="nt">&quot;type&quot;</span><span class="p">:</span> <span class="s2">&quot;header&quot;</span><span class="p">,</span>
  234         <span class="nt">&quot;version&quot;</span><span class="p">:</span> <span class="s2">&quot;4.7.0-dev&quot;</span>
  235     <span class="p">},</span>
  236     <span class="p">{</span>
  237         <span class="nt">&quot;name&quot;</span><span class="p">:</span> <span class="s2">&quot;cars&quot;</span><span class="p">,</span>
  238         <span class="nt">&quot;type&quot;</span><span class="p">:</span> <span class="s2">&quot;database&quot;</span>
  239     <span class="p">},</span>
  240     <span class="p">{</span>
  241         <span class="nt">&quot;data&quot;</span><span class="p">:</span> <span class="p">[</span>
  242             <span class="p">{</span>
  243                 <span class="nt">&quot;car_id&quot;</span><span class="p">:</span> <span class="s2">&quot;1&quot;</span><span class="p">,</span>
  244                 <span class="nt">&quot;description&quot;</span><span class="p">:</span> <span class="s2">&quot;Green Chrysler 300&quot;</span><span class="p">,</span>
  245                 <span class="nt">&quot;make_id&quot;</span><span class="p">:</span> <span class="s2">&quot;5&quot;</span><span class="p">,</span>
  246                 <span class="nt">&quot;mileage&quot;</span><span class="p">:</span> <span class="s2">&quot;113688&quot;</span><span class="p">,</span>
  247                 <span class="nt">&quot;price&quot;</span><span class="p">:</span> <span class="s2">&quot;13545.00&quot;</span><span class="p">,</span>
  248                 <span class="nt">&quot;transmission&quot;</span><span class="p">:</span> <span class="s2">&quot;automatic&quot;</span><span class="p">,</span>
  249                 <span class="nt">&quot;yearmade&quot;</span><span class="p">:</span> <span class="s2">&quot;2007&quot;</span>
  250             <span class="p">}</span>
  251         <span class="p">],</span>
  252         <span class="nt">&quot;database&quot;</span><span class="p">:</span> <span class="s2">&quot;cars&quot;</span><span class="p">,</span>
  253         <span class="nt">&quot;name&quot;</span><span class="p">:</span> <span class="s2">&quot;cars&quot;</span><span class="p">,</span>
  254         <span class="nt">&quot;type&quot;</span><span class="p">:</span> <span class="s2">&quot;table&quot;</span>
  255     <span class="p">},</span>
  256     <span class="p">{</span>
  257         <span class="nt">&quot;data&quot;</span><span class="p">:</span> <span class="p">[</span>
  258             <span class="p">{</span>
  259                 <span class="nt">&quot;make&quot;</span><span class="p">:</span> <span class="s2">&quot;Chrysler&quot;</span><span class="p">,</span>
  260                 <span class="nt">&quot;make_id&quot;</span><span class="p">:</span> <span class="s2">&quot;5&quot;</span>
  261             <span class="p">}</span>
  262         <span class="p">],</span>
  263         <span class="nt">&quot;database&quot;</span><span class="p">:</span> <span class="s2">&quot;cars&quot;</span><span class="p">,</span>
  264         <span class="nt">&quot;name&quot;</span><span class="p">:</span> <span class="s2">&quot;makes&quot;</span><span class="p">,</span>
  265         <span class="nt">&quot;type&quot;</span><span class="p">:</span> <span class="s2">&quot;table&quot;</span>
  266     <span class="p">}</span>
  267 <span class="p">]</span>
  268 </pre></div>
  269 </div>
  270 </div>
  271 <div class="section" id="latex">
  272 <h3>LaTeX<a class="headerlink" href="#latex" title="Permalink to this headline"></a></h3>
  273 <p>If you want to embed table data or structure in LaTeX, this is right choice for you.</p>
  274 <p>LaTeX is a typesetting system that is very suitable for producing scientific
  275 and mathematical documents of high typographical quality. It is also suitable
  276 for producing all sorts of other documents, from simple letters to complete
  277 books. LaTeX uses TeX as its formatting engine. Learn more about TeX and
  278 LaTeX on <a class="reference external" href="https://www.ctan.org/">the Comprehensive TeX Archive Network</a>
  279 also see the <a class="reference external" href="https://www.ctan.org/tex/">short description od TeX</a>.</p>
  280 <p>The output needs to be embedded into a LaTeX document before it can be
  281 rendered, for example in following document:</p>
  282 <div class="highlight-latex"><div class="highlight"><pre><span></span><span class="k">\documentclass</span><span class="nb">{</span>article<span class="nb">}</span>
  283 <span class="k">\title</span><span class="nb">{</span>phpMyAdmin SQL output<span class="nb">}</span>
  284 <span class="k">\author</span><span class="nb">{}</span>
  285 <span class="k">\usepackage</span><span class="nb">{</span>longtable,lscape<span class="nb">}</span>
  286 <span class="k">\date</span><span class="nb">{}</span>
  287 <span class="k">\setlength</span><span class="nb">{</span><span class="k">\parindent</span><span class="nb">}{</span>0pt<span class="nb">}</span>
  288 <span class="k">\usepackage</span><span class="na">[left=2cm,top=2cm,right=2cm,nohead,nofoot]</span><span class="nb">{</span>geometry<span class="nb">}</span>
  289 <span class="k">\pdfpagewidth</span> 210mm
  290 <span class="k">\pdfpageheight</span> 297mm
  291 <span class="k">\begin</span><span class="nb">{</span>document<span class="nb">}</span>
  292 <span class="k">\maketitle</span>
  293 
  294 <span class="c">% insert phpMyAdmin LaTeX Dump here</span>
  295 
  296 <span class="k">\end</span><span class="nb">{</span>document<span class="nb">}</span>
  297 </pre></div>
  298 </div>
  299 </div>
  300 <div class="section" id="id2">
  301 <h3>MediaWiki<a class="headerlink" href="#id2" title="Permalink to this headline"></a></h3>
  302 <p>Both tables and databases can be exported in the MediaWiki format, which is
  303 used by Wikipedia to display tables. It can export structure, data or both,
  304 including table names or headers.</p>
  305 </div>
  306 <div class="section" id="opendocument-spreadsheet">
  307 <h3>OpenDocument Spreadsheet<a class="headerlink" href="#opendocument-spreadsheet" title="Permalink to this headline"></a></h3>
  308 <p>Open standard for spreadsheet data, which is being widely adopted. Many recent
  309 spreadsheet programs, such as LibreOffice, OpenOffice, Microsoft Office or
  310 Google Docs can handle this format.</p>
  311 </div>
  312 <div class="section" id="opendocument-text">
  313 <h3>OpenDocument Text<a class="headerlink" href="#opendocument-text" title="Permalink to this headline"></a></h3>
  314 <p>New standard for text data which is being widely addopted. Most recent word
  315 processors (such as LibreOffice, OpenOffice, Microsoft Word, AbiWord or KWord)
  316 can handle this.</p>
  317 </div>
  318 <div class="section" id="pdf">
  319 <h3>PDF<a class="headerlink" href="#pdf" title="Permalink to this headline"></a></h3>
  320 <p>For presentation purposes, non editable PDF might be best choice for you.</p>
  321 </div>
  322 <div class="section" id="php-array">
  323 <h3>PHP Array<a class="headerlink" href="#php-array" title="Permalink to this headline"></a></h3>
  324 <p>You can generate a php file which will declare a multidimensional array with
  325 the contents of the selected table or database.</p>
  326 </div>
  327 <div class="section" id="id3">
  328 <h3>SQL<a class="headerlink" href="#id3" title="Permalink to this headline"></a></h3>
  329 <p>Export in SQL can be used to restore your database, thus it is useful for
  330 backing up.</p>
  331 <p>The option &#8216;Maximal length of created query&#8217; seems to be undocumented. But
  332 experiments has shown that it splits large extended INSERTS so each one is no
  333 bigger than the given number of bytes (or characters?). Thus when importing the
  334 file, for large tables you avoid the error &#8220;Got a packet bigger than
  335 &#8216;max_allowed_packet&#8217; bytes&#8221;.</p>
  336 <div class="admonition seealso">
  337 <p class="first admonition-title">See also</p>
  338 <p class="last"><a class="reference external" href="https://dev.mysql.com/doc/refman/5.7/en/packet-too-large.html">https://dev.mysql.com/doc/refman/5.7/en/packet-too-large.html</a></p>
  339 </div>
  340 <div class="section" id="data-options">
  341 <h4>Data Options<a class="headerlink" href="#data-options" title="Permalink to this headline"></a></h4>
  342 <p><strong>Complete inserts</strong> adds the column names to the SQL dump. This parameter
  343 improves the readability and reliability of the dump. Adding the column names
  344 increases the size of the dump, but when combined with Extended inserts it&#8217;s
  345 negligible.</p>
  346 <p><strong>Extended inserts</strong> combines multiple rows of data into a single INSERT query.
  347 This will significantly decrease filesize for large SQL dumps, increases the
  348 INSERT speed when imported, and is generally recommended.</p>
  349 <div class="admonition seealso">
  350 <p class="first admonition-title">See also</p>
  351 <p class="last"><a class="reference external" href="http://www.scriptalicious.com/blog/2009/04/complete-inserts-or-extended-inserts-in-phpmyadmin/">http://www.scriptalicious.com/blog/2009/04/complete-inserts-or-extended-inserts-in-phpmyadmin/</a></p>
  352 </div>
  353 </div>
  354 </div>
  355 <div class="section" id="texy">
  356 <h3>Texy!<a class="headerlink" href="#texy" title="Permalink to this headline"></a></h3>
  357 <p><a class="reference external" href="https://texy.info/">Texy!</a> markup format. You can see example on <a class="reference external" href="https://texy.info/en/try/4q5we">Texy! demo</a>.</p>
  358 </div>
  359 <div class="section" id="id5">
  360 <h3>XML<a class="headerlink" href="#id5" title="Permalink to this headline"></a></h3>
  361 <p>Easily parsable export for use with custom scripts.</p>
  362 <div class="versionchanged">
  363 <p><span class="versionmodified">Changed in version 3.3.0: </span>The XML schema used has changed as of version 3.3.0</p>
  364 </div>
  365 </div>
  366 <div class="section" id="yaml">
  367 <h3>YAML<a class="headerlink" href="#yaml" title="Permalink to this headline"></a></h3>
  368 <p>YAML is a data serialization format which is both human readable and
  369 computationally powerful ( &lt;<a class="reference external" href="https://yaml.org">https://yaml.org</a>&gt; ).</p>
  370 </div>
  371 </div>
  372 </div>
  373 
  374 
  375           </div>
  376         </div>
  377       </div>
  378       <div class="sphinxsidebar" role="navigation" aria-label="main navigation">
  379         <div class="sphinxsidebarwrapper">
  380   <h3><a href="index.html">Table Of Contents</a></h3>
  381   <ul>
  382 <li><a class="reference internal" href="#">Import and export</a><ul>
  383 <li><a class="reference internal" href="#import">Import</a><ul>
  384 <li><a class="reference internal" href="#csv">CSV</a></li>
  385 <li><a class="reference internal" href="#csv-using-load-data">CSV using LOAD DATA</a></li>
  386 <li><a class="reference internal" href="#esri-shape-file">ESRI Shape File</a></li>
  387 <li><a class="reference internal" href="#mediawiki">MediaWiki</a></li>
  388 <li><a class="reference internal" href="#open-document-spreadsheet-ods">Open Document Spreadsheet (ODS)</a><ul>
  389 <li><a class="reference internal" href="#table-name">Table name</a></li>
  390 <li><a class="reference internal" href="#column-names">Column names</a></li>
  391 </ul>
  392 </li>
  393 <li><a class="reference internal" href="#sql">SQL</a></li>
  394 <li><a class="reference internal" href="#xml">XML</a></li>
  395 </ul>
  396 </li>
  397 <li><a class="reference internal" href="#export">Export</a><ul>
  398 <li><a class="reference internal" href="#codegen">CodeGen</a></li>
  399 <li><a class="reference internal" href="#id1">CSV</a></li>
  400 <li><a class="reference internal" href="#csv-for-microsoft-excel">CSV for Microsoft Excel</a></li>
  401 <li><a class="reference internal" href="#microsoft-word-2000">Microsoft Word 2000</a></li>
  402 <li><a class="reference internal" href="#json">JSON</a></li>
  403 <li><a class="reference internal" href="#latex">LaTeX</a></li>
  404 <li><a class="reference internal" href="#id2">MediaWiki</a></li>
  405 <li><a class="reference internal" href="#opendocument-spreadsheet">OpenDocument Spreadsheet</a></li>
  406 <li><a class="reference internal" href="#opendocument-text">OpenDocument Text</a></li>
  407 <li><a class="reference internal" href="#pdf">PDF</a></li>
  408 <li><a class="reference internal" href="#php-array">PHP Array</a></li>
  409 <li><a class="reference internal" href="#id3">SQL</a><ul>
  410 <li><a class="reference internal" href="#data-options">Data Options</a></li>
  411 </ul>
  412 </li>
  413 <li><a class="reference internal" href="#texy">Texy!</a></li>
  414 <li><a class="reference internal" href="#id5">XML</a></li>
  415 <li><a class="reference internal" href="#yaml">YAML</a></li>
  416 </ul>
  417 </li>
  418 </ul>
  419 </li>
  420 </ul>
  421 
  422   <h4>Previous topic</h4>
  423   <p class="topless"><a href="charts.html"
  424                         title="previous chapter">Charts</a></p>
  425   <h4>Next topic</h4>
  426   <p class="topless"><a href="themes.html"
  427                         title="next chapter">Custom Themes</a></p>
  428   <div role="note" aria-label="source link">
  429     <h3>This Page</h3>
  430     <ul class="this-page-menu">
  431       <li><a href="_sources/import_export.txt"
  432             rel="nofollow">Show Source</a></li>
  433     </ul>
  434    </div>
  435 <div id="searchbox" style="display: none" role="search">
  436   <h3>Quick search</h3>
  437     <form class="search" action="search.html" method="get">
  438       <div><input type="text" name="q" /></div>
  439       <div><input type="submit" value="Go" /></div>
  440       <input type="hidden" name="check_keywords" value="yes" />
  441       <input type="hidden" name="area" value="default" />
  442     </form>
  443 </div>
  444 <script type="text/javascript">$('#searchbox').show(0);</script>
  445         </div>
  446       </div>
  447       <div class="clearer"></div>
  448     </div>
  449     <div class="related" role="navigation" aria-label="related navigation">
  450       <h3>Navigation</h3>
  451       <ul>
  452         <li class="right" style="margin-right: 10px">
  453           <a href="genindex.html" title="General Index"
  454              >index</a></li>
  455         <li class="right" >
  456           <a href="themes.html" title="Custom Themes"
  457              >next</a> |</li>
  458         <li class="right" >
  459           <a href="charts.html" title="Charts"
  460              >previous</a> |</li>
  461         <li class="nav-item nav-item-0"><a href="index.html">phpMyAdmin 5.0.1 documentation</a> &#187;</li>
  462           <li class="nav-item nav-item-1"><a href="user.html" >User Guide</a> &#187;</li> 
  463       </ul>
  464     </div>
  465     <div class="footer" role="contentinfo">
  466         &#169; <a href="copyright.html">Copyright</a> 2012 - 2018, The phpMyAdmin devel team.
  467       Created using <a href="http://sphinx-doc.org/">Sphinx</a> 1.4.9.
  468     </div>
  469   </body>
  470 </html>