PowerDesigner importing data to MySQL

Source: Internet
Author: User

Each time before it was straight up to build the table, after the completion of the discovery of logical a lot of errors, but also does not well represent the relationship between table and table. Although previously also used PowerDesigner, but with the use of the database is separate, that is, when beginners used PD, and then no longer used. Today due to a relatively large project, I have considered a long time or the first use of Visio and PD to clarify the relationship between the data, in the process of my use of PD, I suddenly remembered that PD seems to be directly to the MySQL conversion, and then I Baidu a bit, and finally used a one-hour successful solution. Take this essay to make a note, but also give some directions to other beginners:

I. ODBC driver for MySQL installation

1, official website download http://dev.mysql.com/downloads/connector/odbc/5.1.html

If the system is 64-bit, to download and install the 32-bit, 64-bit installation package

If only 64 bits are installed, the 32 bits in the C:\Windows\SysWOW64\odbcad32.exe C drive will be automatically run, and the error is displayed:

2. Configure the ODBC driver connection:

Control Panel, Administrative Tools->ODBC data source (32-bit), double-click

Click Add

Click Finish

Click Test, if the display is successful, click OK;

Second, PowerDesigner connection database

1, build table, conceptual model, logical model, physical model

2. Database->connect to a Data Source

Click Modify, select Data source

Click ok-> Click Connect

Third, PowerDesigner to the database conversion (reverse generation)

Database->generate database gets:

Click OK to get the SQL statement:

Copy the SQL statement to MySQL and execute the line.

PowerDesigner importing data to MySQL

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.