Using Toad for Oracle, I can generate full DDL files describing all tables, views, source code (procedures, functions, packages), sequences, and grants of an Oracle schema. A g
For mysql, I use mysqldump. The command is pretty simple.
$ mysqldump [options] db_name [tables] $ mysqldump [options] --databases db_name1 [db_name2 db_name3...] $ mysqldump [options] --all-databases
$ mysqldump [options] db_name [tables]
$ mysqldump [options] --databases db_name1 [db_name2 db_name3...]
$ mysqldump [options] --all-databases
Plenty of options for this. Take a look here for a good reference.