I've been through most of the export formats and can't seem to find it.
I'd like to be able to export tables visually like in this answer:
id | name | name
----------------
1 | One | Partridge
2 | Two | Turtle Doves
3 | Three| French Hens
4 | Four | NULL
Select the 'Custom' option, click 'Select All' above the list of tables that appears. Select the 'Save as File' option if you want to save the output, otherwise leave it as-is to copy and paste it. Under 'Format specific options', select the 'Structure' option. Click 'Go'.
While exporting SQL from phpmyadmin these is an option to give the exported file some variables to be included in the name of the file itself ( and also save it like some sort of "template" under settings-->export ) , for example : __DB__ or @DATABASE@
That's the format you can get by running the query in command line, for instance :
mysql> SELECT user_ID, user_fullname FROM user;
+---------+------------------+
| user_ID | user_fullname |
+---------+------------------+
| 1 | Marc |
| 2 | Nicole |
| 4 | Alexandre |
+---------+------------------+
4 rows in set (0.00 sec)
If you can access to your server that's a quick way to get this layout. Otherwise i dunno how to do it with phpMyAdmin
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With