Convert the suffix. frm,.myd,myi to. SQL Import MySQL Database

Source: Internet
Author: User
Tags name database

Convert these files to. sql scripts with a local MySQL database

1, install MySQL, version and font to be consistent with the server, otherwise garbled.
2, with the CREATE DATABASE NAME; command to create a database

MySQL data has the name folder
3. Copy the *.frm,*.myd,*.myi file to the Data folder.

4, cmd into the bin directory of MySQL, export with the command. SQL script

Mysqldump-u username-p password NAME > D:/name.sql

Export the name database to the D drive and generate the Name.sql script

5, import with Navicat. sql

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.