Character set ' Utf-8 ' is not a compiled Character set and are not specified

Source: Internet
Author: User
Tags mysql in

When I log into MySQL in terminal, I report the following error: MySQL prompts you to be in/usr/share/mysql/charsets/. The index.xml file joins the missing encoding set, but I checked to see that there was a set of encodings I needed in the Index.xml file.

This link gives me an answer that works for me.

Character set ' Utf-8 ' is not a compiled Character set and isn't
specified in '/usr/share/mysql/charsets/index.xml ' File

The Specifie file under the MySQL installation directory will be my.ini when the error of "Character set ' Utf-8 ' is not a compiled Character set and are not default-character-" appears Set=utf-8 change to Default-character-set=utf8 can be.
In a nutshell, change the "utf-8" to "UTF8".

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.