最終更新:2015-07-31 (金) 04:26:05 (3191d)  

MySQL 5.6
Top / MySQL 5.6

メモ

[mysqld]
## UTF 8 Settings
#init-connect=\'SET NAMES utf8\'
#collation_server=utf8_unicode_ci
#character_set_server=utf8
#skip-character-set-client-handshake
#character_sets-dir="C:/xampp/mysql/share/charsets"

#added by tokkyo
character_set_server=utf8
skip-character-set-client-handshake
innodb_file_per_table

[mysql]

#added by tokkyo
default-character-set=utf8

innodb_file_per_table

  • MySQL 5.6では、デフォルト値がONになっているので、大抵の場合は変更の必要はない。それより前のバージョンでは、データを投入する前に明示的にONにしないと、新しく作られたテーブルにしかこの設定は反映されない。

関連