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 CSS3 Box Model a. CSS3 filter b...
Preface I have read many blogs and heard many peo...
Abstract: MySQL provides a variety of storage eng...
Some time ago, the blogger installed the Ubuntu s...
This article shares the specific code of Vue usin...
Due to your company standards, you may only allow...
I recently encountered a feature while working on...
There was an article about the execution process ...
Table of contents Preface Input box component lay...
In the actual project development process, the pag...
Table of contents Preface 1. JDBC timeout setting...
1. Introduction Git is a free, open source distri...
When searching online for methods to install MySQ...
MySQL master-slave setup MySQL master-slave repli...
Let's talk about the difference first last, t...