You can query information_schema.columns to get the required data:
SELECT * from information_schema.columns WHERE table_schema = 'db_2_66028' AND table_name = 'tbl';
table_schema is the name of your dbtable_name name of the table. If you omit this, you will request column information for all of your tables.
See http://sqlfiddle.com/#!2/23f9b/1 for a live demo. Here I used SELECT * for simplicity, but you will probably have to select only the required columns for your specific need.
In addition, MySQL can export the query result as a CSV file , a text format that Excel, like any other spreadsheet, can read easily. Something like this can do the trick:
SELECT * from information_schema.columns WHERE table_schema = 'db_2_66028' AND table_name = 'tbl' INTO OUTFILE '/tmp/result.csv' FIELDS TERMINATED BY ',' OPTIONALLY ENCLOSED BY '"' ESCAPED BY '\\' LINES TERMINATED BY '\n'
source share