-
- Download install MySQL Workbench
- Draw.
- Vain
Download install MySQL Workbench
The first is to download the MySQL workbench,windows system of their own Baidu, I use the Ubuntu 14.04LTS, Baidu to the results of a bit of a pit, called me to the official website, but the choice of platform after the t_t, finally suddenly think of the system comes with software center, Go directly to the native Ubuntu Softwore Center to find, install just fine.
Draw.
How to make workbench automatically generate ER diagram according to the structure of database table? This requires reverse engineering!!!! As the name implies, I am just a simple use of slag, temporarily do not know how to explain professionally.
Open the Workbench, the menu bar "database", and then select "Reverse Engineer ...", all the way next, finally Excute and close, you can see in the ERR diagram area more a picture, click on it, I saw the ER diagram I want, as for the ER diagram of the connection expressed by the specific relationship, if you do not understand the words, hehe, ask the mother ~
Well, here's a project I've been working on recently, and the database tables haven't been designed yet, and that's just a ballpark frame ... The idea of open source ~ Haha, no one to copy my bad design ~ (≧▽≦)/~ la La
Workbench is very powerful, can also be based on this continue to change, as to how to operate, the reader himself pondering oh, have experience to say to share, because my needs only need to do here.
White ~
Generating ER diagrams with MySQL Workbench