Mysql cannot be inserted into Chinese

problem description

Chinese cannot be inserted into the Mysql command line under Windows.

the environmental background of the problems and what methods you have tried

Environment: Win10 Mysql5.5
try:

1.
2.set names utf8
3. utf8  
4.CMD  chcp 65001

related codes

select "strict";

Apr.04,2022

this is because your terminal (CMD) does not recognize utf-8 encoding


CMD character set modification. Search for


CMD can only use GBK encoding.

MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1eb6587-4839c.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1eb6587-4839c.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?