In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-09-22 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Database >
Share
Shulou(Shulou.com)05/31 Report--
In this article, the editor introduces in detail "mysql and then modify the character set of the field", the content is detailed, the steps are clear, and the details are handled properly. I hope that this "mysql then modify the character set of the field" article can help you solve your doubts.
Method: 1, open the "my.ini" file, add "default-character-set=utf8" under client; 2, add "default-character-set=utf8" under mysql; 3, modify the contents of mysqld and restart.
The operating environment of this tutorial: windows10 system, mysql8.0.22 version, Dell G3 computer.
How does mysql modify the character set of a field
Modify MySQL configuration file
Find the my.ini file
After going in, add the configuration in three places.
The first one:
[client] default-character-set=utf8
Second:
[mysql] default-character-set=utf8
The third:
[mysqld] character-set-client-handshake = FALSE character-set-server = utf8 collation-server = utf8_unicode_ci init_connect='SET NAMES utf8'
Restart the MySQL service
This computer-- > Administration-- > Services and applications-- > Services-- > mysql Services-- > restart
Enter a command
Show variables like'% char%'
You can view the mysql character set
After reading this, the article "mysql and then modify the character set of the field" has been introduced. If you want to master the knowledge points of this article, you still need to practice and use it yourself. If you want to know more about related articles, welcome to follow the industry information channel.
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.
The market share of Chrome browser on the desktop has exceeded 70%, and users are complaining about
The world's first 2nm mobile chip: Samsung Exynos 2600 is ready for mass production.According to a r
A US federal judge has ruled that Google can keep its Chrome browser, but it will be prohibited from
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
About us Contact us Product review car news thenatureplanet
More Form oMedia: AutoTimes. Bestcoffee. SL News. Jarebook. Coffee Hunters. Sundaily. Modezone. NNB. Coffee. Game News. FrontStreet. GGAMEN
© 2024 shulou.com SLNews company. All rights reserved.