MySQL set global character_set_server=utf8; 没生效
MYSQL什么版本?
试试:
set character_set_database=utf8; set character_set_server=utf8;
重连一下,下一个会话试试。