1. Check the character set of MySQL show variables like '%char%'; 2. Modify the MySQL configuration file It's not the installation directory, it's the data directory. I opened it with sublime. After entering, add configuration in three places. First one: [client] default-character-set=utf8 Second one: [mysql] default-character-set=utf8 The third one: [mysqld] character-set-client-handshake = FALSE character-set-server = utf8 collation-server = utf8_unicode_ci init_connect='SET NAMES utf8' Above: save 3. Restart MySQL service This computer -> Manage -> Services and Applications -> Services -> MySQL Service -> Restart 4. Log in to MySQL Enter the command show variables like '%char%'; Done The above is the details of how to modify the MySQL character set. For more information about modifying the MySQL character set, please pay attention to other related articles on 123WORDPRESS.COM! You may also be interested in:
|
<<: How does Zabbix monitor and obtain network device data through ssh?
>>: JavaScript Array Detailed Summary
Table of contents Tutorial Series 1. Backup strat...
webkit scrollbar style reset 1. The scrollbar con...
Glass Windows What we are going to achieve today ...
This article shares the specific code of jQuery t...
The detailed installation and configuration of th...
In Linux C/C++, thread-level operations are usual...
Table of contents 1. Background 2. Verification p...
Table of contents 1. MySQL time type 2. Check the...
Service.xml The Server.xml configuration file is ...
Table of contents 1. Database Operation 2. Data T...
How to solve the timeout problem when pip is used...
Preface NFS (Network File System) means network f...
Introducing Server-U software Server-U is a very ...
The reason is that all files are encoded in utf8. ...
Background of the accident: A few days ago, due t...