Resolved: How to get diagram in SQL Workbench
Is there a way to get diagram like the picture below in SQL Workbench? Thank you.
Hi Thai!
Yes, there is a way to do it in Workbench. Please, follow these steps:
-
First make sure you have a Database and Tables created on the MySQL server.
-
Click on Database -> Reverse Engineer.
-
Select your stored connection (for connecting to your MySQL Server in which database is present) from the dropdown. Then click Next.
-
After the execution gets completed successfully (connection to DBMS), click Next.
-
Select your Database from the MySQL Server for which you want to create the ER Diagram (in our case the database name is***“employees”***), then click Next.
-
After the retrieval gets completed successfully for the selected Database, click Next.
-
Select the Tables of the Database which you want to be visible on the ER Diagram (usually all the tables of the DB), then click Execute>.
-
After the Reverse Engineering Process gets completed successfully, click Next.
-
Click Finish.
Now you can see the ER Diagram of the Database.
Hope this helps.
Best,
Tsvetelin
Insightful way to depict the complete schema! Thank you so much!
Edsson Thank you for question and Tsvetelin Thanks a bunch for powerful answer