Permanent Simplified Chinese
[root @ localhost ~] # vim /etc/my.cnf
add the following four lines:
[Client]
default = UTF8-Character-SET
[mysql]
default-character-set=utf8
Temporary support for Simplified Chinese
[root @ localhost ~] # MySQL-uroot--p123123
MariaDB [(none)]> charset utf8;
Charset changed