Visio 2010 Reverse-Engineering The MySQL database build ER Database model diagram
1, first need to download from MySQL for database link drive ODBC
Yes: http://dev.mysql.com/downloads/connector/odbc/
Download it according to the appropriate version and install it locally after downloading
2, start Visio2010 (other version of self-study)
When creating a new document, select "Software and Database" in the template category, as
Then jump to "select template", directly select "Database Model Diagram", such as
3. Select the "Database" tab in the toolbar above
Select the Reverse engineer button on the left to jump out of the following screen:
Drop down "Installed Visio drivers", select "ODBC Generic Driver", then click "New" to pop up the following screen
4. Select the System data source
Generally we are just a one-time import table structure, select "User data source (for current machine only)", Next, select "MySQL ODBC 5.1 Driver"
Next, when you're done, you'll jump out of MySQL's database configuration interface
5. Configure MySQL Data source
In the above interface according to the appropriate information to fill in, click "Test" to test, if the database name, user name password is no problem, click "OK" to start back to the previous interface,
This configures the data source and then clicks "Next", which will let you enter your username and password again.
6. Reverse Database
After the data user name and password, you will be asked to select the type of object you want to import, and then the next step.
At this point, you start selecting objects that need to be reversed, such as
Click Next to choose whether to add the shape of the table
Next....
After the directory information is selected, the point is completed and Visio2010 automatically imports the table structure information to the current page. The final results are as follows: