Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

Solve the problem of setting utf8 encoding in win7-64bit in mysql5.6.X installation version

2025-01-20 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Database >

Share

Shulou(Shulou.com)06/01 Report--

Copy my-default.ini in the installation directory to my.ini according to various configurations in the network

And then I changed my.ini to

the question arises as to

The solution 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

That's it.

Here to modify to restart! Reboot! Reboot!

The solution is to display UTF8 code correctly, and the contents of DB operation tool display Chinese characters:

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Database

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report