my.cnf 파일에 추가 후 mysqld 재시작
[client]
default-character-set=utf8
[mysqld]
init_connect="SET collation_connection=utf8_general_ci"
init_connect="SET NAMES utf8"
character-set-server=utf8
collation-server=utf8_general_ci
[mysqldump]
default-character-set = utf8
[mysql]
default-character-set=utf8