The garbled problem of MySQL

Source: Internet
Author: User
Tags character set

MySQL's garbled files
This afternoon, the relocation server; the transfer data was killed. Since the data was upgraded to a newer version of MySQL, all the problems in the relocation process occurred.

Because the default character set used when starting a database is gb2312 a bit of a problem with MySQL after the upgrade, and finally the setchar=gb2312 of the data is removed;

Then SetChar's text set depends on your MySQL my.cnf when the default character set file is used; If the default is gb2312 there is no way you will setchar remove the characters you come out or gb2312

So you can change the setchar=gb2312 to setchar=latin1. The default startup character set of the my.cnf file is removed from the new boot MySQL.

Related Article

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.