How to generate the DDL for all tables in a database of MySQL at once. I know that the following query will output the DDL for a table. But I want DDL of all tables at once beca
You can do it using the mysqldump command line utility:
mysqldump -d -u -p -h
The -d option means "without data".
-d