my.cnf

MySQLの設定ファイル

% sudo vi /opt/local/etc/mysql55/my.cnf

# Use default MacPorts settings
# !include /opt/local/etc/mysql55/macports-default.cnf

[mysqld]
max_allowed_packet = 16M
+ character-set-server=utf8

+ [mysql]
+ default-character-set=utf8