Skip to content

Commit

Permalink
Add some import-export user documentation
Browse files Browse the repository at this point in the history
Signed-off-by: Isaac Bennetch <bennetch@gmail.com>
  • Loading branch information
ibennetch committed Apr 29, 2015
1 parent c4d5640 commit b28b974
Show file tree
Hide file tree
Showing 2 changed files with 28 additions and 0 deletions.
27 changes: 27 additions & 0 deletions doc/import_export.rst
@@ -0,0 +1,27 @@
Import and export
=================

In addition to the standard Import and Export tab, you can also import an SQL file directly by dragging and dropping
it from your local file manager to the phpMyAdmin interface in your web browser.

Open Document Spreadsheet
-------------------------

When importing an ODS speadsheet, the spreadsheet must be named in a specific way in order to make the
import as simple as possible.

Table name
~~~~~~~~~~

During import, phpMyAdmin uses the sheet name as the table name; you should rename the
sheet in your spreadsheet program in order to match your existing table name (or the table you wish to create,
though this is less of a concern since you could quickly rename the new table from the Operations tab).

Column names
~~~~~~~~~~~~

You should also make the first row of your spreadsheet a header with the names of the columns (this can be
accomplished by inserting a new row at the top of your spreadsheet). When on the Import screen, select the
checkbox for "The first line of the file contains the table column names;" this way your newly imported
data will go to the proper columns.

1 change: 1 addition & 0 deletions doc/user.rst
Expand Up @@ -7,3 +7,4 @@ User Guide
transformations
privileges
other
import_export

0 comments on commit b28b974

Please sign in to comment.