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
Nginx reverse proxy multiple servers, which means...
Apple Mug Icons and Extras HD StorageBox – add on...
Table of contents 1. Routing related objects 2. L...
background It all started when a classmate in the...
Overview This article begins to introduce content...
Preparation 1. Check whether the GPU supports CUD...
Table of contents Vue custom directive Custom dir...
1. Download VMware Workstation 64 version https:/...
This article introduces a tutorial about how to u...
Before talking about CSS priority, we need to und...
Preface During my internship at the company, I us...
This article mainly introduces the implementation...
Solution to the problem that there is no unzip co...
Both methods can be used to execute a piece of ja...
1.watch listener Introducing watch import { ref, ...