MySQL database Import external *.sql file detailed steps

Source: Internet
Author: User

if you want to reprint please indicate the source: http://blog.csdn.net/itas109


Environment:

MySQL 50515

Navicat for MySQL


First, the introduction of the premise

Ensure that the host and port of the imported SQL file are consistent with the MySQL version

Specific operation:

1. Click the connection Properties.


2. Ensure that the hostname and port are consistent with the information in SQL


3, run, MySQL default login program, view MySQL version



II. databases in the new SQL

The database name in this example is TR, such as the new data named TR, encoded as UTF8 (based on actual modification).

Third, Import Database 1, right-click the TR database, hit "Run SQL file"
2, confirm the database, coding and other information consistent

3. Import Process

Iv. Display of imported data

1, after the completion of the import we found that the table does not add the data we imported, in fact, we just right click on the table, click Refresh (or F5) can be.

2. Final result

if you want to reprint please indicate the source: http://blog.csdn.net/itas109

MySQL database Import external *.sql file detailed steps

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.