Use these command to show and set the character set:
show variables like'collation%'
show variables like 'character_set_%'
change all to the utf8
1
set character_set_database=utf8;
set character_set_system=utf8;
set collation_database=utf8_bin;
somthing wrong.
2
SET character_set_client='utf8';
SET character_set_connection='utf8';
SET character_set_results='utf8';
//set names=utf8;
3
SET character_set_server='utf8';