Issues encountered during MySQL migration

Source: Internet
Author: User

In the process of migrating a Web site, an error occurred while importing the phpMyAdmin exported database again using Navicat to another database

The error prompt is #1064-you have an error in your SQL syntax; ...


The first analysis is a syntax error in the error prompt, the syntax error is imported into the table to find no errors

The second analysis is that the database table is beyond the string atmosphere after the modified test discovery is still not the cause of the error

The third time to re-use the phpMyAdmin Export data discovery and low-sequentially exported database size discrepancies the next third export found that three export file sizes are different

The preliminary decision is that the database is not exported completely

After you use the command on the database server mysqldump-u user-p databasename > Name.sql

The exported data is found to be much larger than the first three exported data.


Import a database test again using NAVICAT after export or use the command line import


This article is from the "Forsk" blog, make sure to keep this source http://forsk.blog.51cto.com/8096006/1547352

Problems encountered during the MySQL migration

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.