chnhbhndchngn 2022-02-13 08:18:12 阅读数:829
Linux Installed mysql8.0 Some of the default codes are Latin , Not and store Chinese , View encoding
mysql> show variables like '%character%';
Need to use root user , modify /etc/my.cnf file
stay [mysqld] Add below
collation_server = utf8_general_ci
character_set_server = utf8
Then save to exit
Restart mysql Program ,
service mysqld restart
Start again mysql client , View encoding
copyright:author[chnhbhndchngn],Please bring the original link to reprint, thank you. https://en.javamana.com/2022/02/202202130818111059.html