4

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.

0

2 Answers 2

8
  1. Right click on the schema
  2. Select "Send to SQL Editor"
  3. Select "Create statement"

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.

Sign up to request clarification or add additional context in comments.

2 Comments

i want the whole script of al tables so please suggest me hopw to get the scripts of all tables
@NavKumar Ok, then you will have to select all the tables in the schema and select before doing step 2 and 3
2

Select the File, Export, Forward Engineer SQL CREATE Script menu item to start the Forward Engineer SQL

Get more details here

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.