Convert PDM to MYSQl Databases in powerdesigner

Source: Internet
Author: User
Tags powerdesigner

Convert PDM to MYSQl Databases in powerdesigner

Use PowerDesigner to design and build a MySQL database

1. Create a database creation script using PowerDesigner
1. Design CDM (Conceptual Data Model)
2. Select Tools> Generate Physical Data Model, select the corresponding DBMS as MySQL, and Generate PDM
3. Select Database-> Generate Database. In the pop-up Database Generation dialog box, select the script access path and script file name.
4. Click OK to generate the database creation script (*. SQL)

You can run the SQL script in either of the following ways:
Method 1:
In the command line (Database not connected), enter mysql-h localhost-u root-p123456 <F:/mytest/testdb. SQL (note that no quotation marks are required for the path !!) Press enter.
Method 2:
Enter source F:/mytest/testdb. SQL in the command line (the database is connected, and the prompt is mysql>) and press Enter.

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.