How to get ER model of database from server with Workbench

MysqlEntity RelationshipMysql Workbench

Mysql Problem Overview


Is there any way to get an ER model of a database from the server that is connected to my MySQL Workbench?

Mysql Solutions


Solution 1 - Mysql

  1. Go to "Database" Menu option
  2. Select the "Reverse Engineer" option.
  3. A wizard will be open and it will generate the ER Diagram for you.

Solution 2 - Mysql

I want to enhance Mr. Kamran Ali's answer with pictorial view. Pictorial View is given step by step:

> 1. Go to "Database" Menu option > 2. Select the "Reverse Engineer" option.

enter image description here

> 3. A wizard will come. Select from "Stored Connection" and press "Next" button.

enter image description here

> 4. Then "Next"..to.."Finish"

Enjoy :)

Solution 3 - Mysql

  1. Migrate your DB "simply make sure the tables and columns exist".
  2. Recommended to delete all your data (this freezes MySQL Workbench on my MAC everytime due to "software out of memory..")

  1. Open MySQL Workbench
  2. click + to make MySQL connection
  3. enter credentials and connect
  4. go to database tab
  5. click reverse engineer
  6. follow the wizard Next > Next ….
  7. DONE :)
  8. now you can click the arrange tab then choose auto-layout (keep clicking it until you are satisfied with the result)

Solution 4 - Mysql

On mac, press Command + R or got to Database -> Reverse Engineer and keep selecting your requirements and continue

enter image description here

Attributions

All content for this solution is sourced from the original question on Stackoverflow.

The content on this page is licensed under the Attribution-ShareAlike 4.0 International (CC BY-SA 4.0) license.

Content TypeOriginal AuthorOriginal Content on Stackoverflow
Questionzdarsky.peterView Question on Stackoverflow
Solution 1 - MysqlKamran AliView Answer on Stackoverflow
Solution 2 - MysqlSkyWalkerView Answer on Stackoverflow
Solution 3 - MysqlMahmoud ZaltView Answer on Stackoverflow
Solution 4 - MysqlHari_pbView Answer on Stackoverflow