揮発性のメモ2

http://d.hatena.ne.jp/iww/

show variables like "char%";

mysql> show variables like "char%";
+--------------------------+----------------------------+
| Variable_name            | Value                      |
+--------------------------+----------------------------+
| character_set_client     | ujis                       | ○  ●
| character_set_connection | ujis                       | ○  ●
| character_set_database   | utf8                       |   ▲
| character_set_filesystem | binary                     |
| character_set_results    | ujis                       | ○  ●
| character_set_server     | utf8                       |       ■
| character_set_system     | utf8                       |
| character_sets_dir       | /usr/share/mysql/charsets/ |
+--------------------------+----------------------------+
○ SET NAMES utf8;
▲ ALTER DATABASE eaos CHARACTER SET utf8;
● [client] default-character-set = utf8
■ [mysqld] default-character-set = utf8