mysqlの文字コード設定
show variables like "chara%";
/etc/mysql/mysql.conf.d/mysqld.cnf
[mysqld]
character-set-server=utf8
/etc/mysql/debian.cnf
[client]
host = localhost
user = debian-sys-maint
password = diaT2kRX4CB5RIuG
socket = /var/run/mysqld/mysqld.sock
default-character-set=utf8
Views: 30