I have a MySQL database schema say test with some tables and inter dependencies. Now using MySQL workbench i can reverse engineer to get the create schema script.
How is it possible to achieve the same using mysqldump command i.e., get the create schema and the foreign key references should be maintained.
You can make mysql dump. It will contain SQL data definition statements.