Skip to content

Set MySQL to UTF-8

Change the following in my.cnf

[mysqld]
default-character-set= utf8
skip-character-set-client-handshake
character-set-server= utf8
collation-server= utf8_general_ci
init-connect= 'SET NAMES utf8'

via M’sNOTE  MySQL(デフォルト文字コード)の設定 – Ubuntu9.04.

Leave a Reply

Your email address will not be published. Required fields are marked *

19 − one =