Importing MySQL workbench modeling to MySQL

Source: Internet
Author: User

I don't know how others do it. This is just my own practice.

 

1. Export the SQL file in workbench. File, export. Continue to the next step (of course you can also choose something)

2. process the SQL file from workbench. For example, it seems useless to start some sets and end some sets. Deleted. The character encoding should also be processed. The default value is Latin1. It is best to copy the full text here, and then create a new SQL paste. Otherwise, garbled characters are generated when the Chinese characters are imported to MySQL. It is best to compare the SQL file backed up by MySQL, especially the character encoding SQL statement.

3. Open CMD and enter MySQL

4. Execute a statement similar to source E: \ 123. SQL

 

How can this problem be solved ~~

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.