在 Ubuntu 下更改 MYSQL 的字符集

修改 /etc/mysql/my.cnf

[client]
default-character-set=utf8

[mysqld]
character_set_server=utf8

[mysql]
default-character-set=utf8

然后 sudo service mysql restart


作者:hsfzxjy
链接:
许可:CC BY-NC-ND 4.0.
著作权归作者所有。本文不允许被用作商业用途,非商业转载请注明出处。

«Ubuntu 下解决 apt-get“Hash 校验和不符的方案”

OOPS!

A comment box should be right here...But it was gone due to network issues :-(If you want to leave comments, make sure you have access to disqus.com.