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
A jQuery plugin every day - jQuery plugin to impl...
Table of contents 1. V8 Source 2. V8 Service Targ...
1. Overall architecture diagram Compared to other...
1. Problem symptoms Version: MySQL 5.6, using the...
Use CSS to modify scroll bars 1. Overflow setting...
This article describes the MySQL data types and f...
Summary HTML: element plus v-cloak CSS: [v-cloak]...
In Linux, there are two types of file connections...
Enter /usr/local/nginx/conf sudo cd /usr/local/ng...
MySQL query not using index aggregation As we all...
Suddenly, I needed to build a private service for...
Open the cpanel management backend, under the &qu...
Table of contents Method 1: The simplest way to s...
Today, when learning PHP, of course, you have to ...
This article aims to clarify the relationship bet...