Insert a question about MySQL Chinese garbled or incorrect data
Solution one
- Mysql open my.ini file in the installation directory
- The file
default-character-set=utf8
value changeutf8
Solution two
-
In the command line
show variables like'%char%';
-
The modification of the value as shown below:
There are two methods 3. Review:
a first
orThe second
command line inputset names gbk;
Finish.
See detailed reference