In legend, programmers like to use Powerdesign for database modeling. A physical model diagram is usually designed to generate a database by converting the SQL statements required by the database.
But the legend of "Powerdesign reverse engineering" is circulating in the lakes and rivers. Well, we're going to use powerdesign to build reverse engineering today.
MySQL 5.0-based database, PowerDesigner12. Is mainly divided into these steps.
1> establishes an ODBC data source through Windows data source management.
First, install the ODBC patch. Here is the patch file for Myodbc-3.51.11-2-win.exe. Use them for installation.
: http://pan.baidu.com/share/link?shareid=1095933734&uk=3693013659&fid=272288071052989
Open the Windows Control Panel to open the Administrative tools
Open Data Source (ODBC)
Select the type of database you want to manipulate
Enter the database parameters and test the connection
2> uses an ODBC data source through PowerDesigner to establish a powerdesigner data source.
Create a new physical model.
Select Database---connection (connect).
Select an ODBC data source that is already configured.
Enter the user name and password for the login database.
2> use PowerDesigner for reverse engineering.
Select database----Reverse Engineer database. Use a data source that is already configured.
Select the content you are interested in.
Generate a physical model.
We waited a little while, and I came up with the data model we needed. Such as:
After zooming in
Here, our reverse engineering is done.
PowerDesigner connecting MySQL, creating reverse engineering diagrams