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
Anti-shake: Prevent repeated clicks from triggeri...
Table of contents Install Dependencies Install bo...
This article example shares the specific code for...
When inserting data, I found that I had never con...
Today, let’s talk about how to start four MySQL d...
If the program service is deployed using k8s inte...
Table of contents Preface 1. Paste Events and Cli...
Log in to MySQL first shell> mysql --user=root...
Table of contents 1. Object change detection 2. Q...
Preface: In Vue, props can be used to connect ori...
What is a table? It is composed of cell cells. In...
Table of contents Filters 01.What is 02. How to d...
Basic environment configuration Please purchase t...
This article shares the specific code of js to im...
Recently, I made a function similar to shake, usi...