The PD tool connects to the MySQL database

Source: Internet
Author: User
Tags dsn powerdesigner

One, download the ODBC driver package

: https://dev.mysql.com/downloads/connector/odbc/

Download according to your computer version

After downloading the installation, you can

Second, configure the data source

1, first, in order to open the " Start menu "-" Control Panel ", if you can find the " Administrative Tools " option in the window, click the Management tool, if not found in the upper right corner of the window "view mode" Drop-down box drop-down Select small icon or large icon, then the Administrative Tools option appears, click Enter.

2. In the pop-up window, double-click to select the " data source (ODBC)" shortcut, perhaps the name is not exactly the same, but I believe that smart readers should be able to extrapolate.

On the User DSNtab, click the Add button, and then select the MySQL ODBC
5.3 Unicode Driver ".

Note: Here are some explanations for "MySQL ODBC
5.3 ANSI Driver "and" MySQL ODBC 5.3 Unicode Driver "differ:

①mysql ODBC 5.3 ANSI Driver only for a limited range of character sets;

The ②mysql ODBC 5.3 Unicode Driver provides support for more character sets, that is, support for multiple languages.

3. Fill in the configuration information

The first two options can be filled out according to the project function information, then the TCP/IP server and port are filled in, followed by the MySQL user name, password, and database name.

When you are finished, you can click the "Test" button to test if the connection is successfully configured! If successful, you will be prompted for success!

If the test is successful, then click on the "OK" button!

Third, import the MySQL database into PowerDesigner, as follows:

In PowerDesigner, use the menu file= "Reverse engineer=" Database,dbms Select MySQL5.0, click OK

In the selection of the Database Reverse Engineering Options window that pops up, select using a data source, click the Small database icon on the right, and in the pop-up window, select ODBC file data source. Select the user DSN that we have created before and connect.

The PD tool connects to the MySQL database

Related Article

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.