Reputation: 141
I am using mysql5.6 workbench. I have a schema and many tables in this schema. Now I need to get the complete schema on my other system for which I need the script. I created all the tables without running the script so I don't have script. But now I want to generate the script from the workbench so that I can run it on another system.
please suggest me how I can get this script from mysql workbench 5.2CE.
Also please help me to get it out in a .sql file format script.
Upvotes: 4
Views: 19036
Reputation: 443
Select the File, Export, Forward Engineer SQL CREATE Script menu item to start the Forward Engineer SQL
Upvotes: 2
Reputation: 5322
If you want to generate a complete create script (i.e. including the tables), select the schema AND all the tables (hold down Ctrl to multiselect), then follow steps 1 through 3.
Upvotes: 8