Solve the problem of setting UTF8 encoding in win7-64bit for long-troubled mysql5.6.x installation version

Source: Internet
Author: User

According to a lot of configuration in the network, the My-default.ini in the installation directory is copied into a My.ini


650) this.width=650; "Src=" https://s5.51cto.com/wyfs02/M00/A4/7E/wKioL1msvtXhRlbFAACbvpoLcOM774.png-wh_500x0-wm_ 3-wmp_4-s_425264363.png "title=" Tim3.png "alt=" Wkiol1msvtxhrlbfaacbvpolcom774.png-wh_50 "/>


Then I modified the contents of the My.ini to

650) this.width=650; "Src=" https://s4.51cto.com/wyfs02/M01/A4/7E/wKioL1msvxnD1ANzAADFI-uM9Lk406.png-wh_500x0-wm_ 3-wmp_4-s_1864546503.png "title=" Tim4.png "alt=" Wkiol1msvxnd1anzaadfi-um9lk406.png-wh_50 "/>


One of the problems that arises is


650) this.width=650; "Src=" https://s2.51cto.com/wyfs02/M02/05/CC/wKiom1msv0yT3JYuAAB9tbaZVIE687.png-wh_500x0-wm_ 3-wmp_4-s_661476063.png "style=" Float:none; "title=" Tim1.png "alt=" Wkiom1msv0yt3jyuaab9tbazvie687.png-wh_50 "/>

650) this.width=650; "Src=" https://s2.51cto.com/wyfs02/M00/05/CC/wKiom1msv02yaOYaAAAb6iz_duo233.png-wh_500x0-wm_ 3-wmp_4-s_2970734688.png "style=" Float:none; "title=" Tim2.png "alt=" wkiom1msv02yaoyaaaab6iz_duo233.png-wh_50 "/ >


The workaround is: you need to modify the mysqld part of My-default.ini and add it under [mysqld]

Character-set-server=utf8

Collation-server=utf8_general_ci

Can.


Change it here to restart! to reboot! to reboot!


The resolution results for the correct display of the UTF8 encoding, and the contents of the DB manipulation tool display Chinese characters:

650) this.width=650; "Src=" https://s3.51cto.com/wyfs02/M02/05/CD/wKiom1msv8GSkbWZAAAY6uOZoLs187.png-wh_500x0-wm_ 3-wmp_4-s_3141464451.png "style=" Float:none; "title=" Tim5.png "alt=" wkiom1msv8gskbwzaaay6uozols187.png-wh_50 "/ >

650) this.width=650; "Src=" https://s3.51cto.com/wyfs02/M01/A4/7E/wKioL1msv6bTqaTfAAAsdpQbv1E651.png-wh_500x0-wm_ 3-wmp_4-s_2359093036.png "style=" Float:none; "title=" Tim6.png "alt=" wkiol1msv6btqatfaaasdpqbv1e651.png-wh_50 "/ >






This article is from the "You can choose Extraordinary" blog, please be sure to keep this source http://ylcodes01.blog.51cto.com/5607366/1962449

Solve the problem of setting UTF8 encoding in win7-64bit for long-troubled mysql5.6.x installation version

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.