How to get ER model of database from server with Workbench
- Go to "Database" Menu option
- Select the "Reverse Engineer" option.
- A wizard will be open and it will generate the ER Diagram for you.
I want to enhance Mr. Kamran Ali's answer with pictorial view.
Pictorial View is given step by step:
- Go to "Database" Menu option
- Select the "Reverse Engineer" option.
- A wizard will come. Select from "Stored Connection" and press "Next" button.
- Then "Next"..to.."Finish"
Enjoy :)
- Migrate your DB "simply make sure the tables and columns exist".
- Recommended to delete all your data (this freezes MySQL Workbench on my MAC everytime due to "software out of memory..")
- Open MySQL Workbench
- click + to make MySQL connection
- enter credentials and connect
- go to database tab
- click reverse engineer
- follow the wizard Next > Next ….
- DONE :)
- now you can click the arrange tab then choose auto-layout (keep clicking it until you are satisfied with the result)
On mac, press Command + R
or got to Database
-> Reverse Engineer
and keep selecting your requirements and continue