Import. sql files to MySQL Workbench

Source: Internet
Author: User

MySQL Workbench used a little, the previous time loaded a bit, and then used a bit, feel the operation than dbdesigner4 to be more humane. Two of them have been improved, which makes me feel very cool.

The first is that the port can be modified, before it was dead 3306

Second, when DBDESIGNER4 imports XML, it can only be Erwin XML, so XML exported with mysqldump cannot be imported into dbdesigner4 at all. It's not the same now, MySQL Workbench can import. sql files directly.

Let's say the import and export database, about MySQL Workbench Basic operations, there are many online, and about the use of MySQL Workbench directly from the database import, and then exported to the database in the article very few.

1,mysql Workbench Menu File=>add Model (add models)

MySQL Add model

Click on the Add diagram in the red circle above (add a new plot) and a new graphical model will be added to the right.

2,mysql Workbench Menu Database=>reverse Engineer

MySQL Workbench Connection Database

After filling in the connection information, the next step is OK, so that the table structure of the database can be imported into the model, note, when the guide, estimated to be more than 40 seconds, wait a moment.

3,mysql Workbench Menu Database=>synchronize Model

Then it will pop up a second step similar to the dialog box, after filling, the next step can be the modified table structure, import into the database.

With the above three steps, we can export the table structure of the database, and then we can import it after making the modification. When we study a CMS, or do two of times to develop, this time we have to analyze the original database, this time MySQL Workbench, or dbdesigner is your analysis database of the deli assistant.

Reprint Please specify
Author: submarine Eagle

Address: http://blog.csdn.net/phpxin123/article/details/7649729

Import. sql files to MySQL Workbench

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.