1

I have 2 dozen tables in a mysql DB. I can see the table by using desc tableName; How i dump the desc for all tables into a file so i can look through them easily and quickly?

1 Answer 1

3

mysqldump with --no-data will dump the schema out for you, e.g.:

mysqldump --opt --no-data -h $host-u $username -p$password $database
0

You must log in to answer this question.