The garbled code problem is as follows: The reason for the problem is very simple. It is nothing more than a deviation between the encoding of the command line and the encoding set internally in MySQL. We right-click the properties to check the encoding of the following command line, which is GBK. solve: mysql> show variables like 'character%'; -- Fuzzy query global variables starting with character
The above three can be set to GBK respectively: This can be done simply by: Of course, the above two steps are temporary and will still be the same next time you turn it on, so the graphical interface is really great. So far, it's over:
The above is the details of how MySQL solves the DOS window garbled problem. For more information about MySQL DOS window garbled characters, please pay attention to other related articles on 123WORDPRESS.COM! You may also be interested in:
|
<<: Analysis of the configuration process of installing mariadb based on docker
>>: Detailed explanation of Javascript string methods
Table of contents Preface How to encapsulate a To...
This article shares the installation and configur...
This article uses examples to describe common bas...
What should I do if Linux does not support all co...
It's embarrassing to say that I had to search ...
How to use the concat function in MySQL: CONCAT(s...
Implementation of navigation bar, fixed top navig...
Busybox: A Swiss Army knife filled with small com...
I have always wondered why the MySQL database tim...
When checking the slow query, I found that the ti...
First, you can open Moments and observe several l...
Today, let's introduce several common text pr...
There are obvious differences between volume moun...
This article example shares the specific code of ...
Table of contents How to operate Operation proces...