1.show variables like '%char%'
;
2.set character_set_database=utf8;
set character_set_server=utf8;
set character_set_results=utf8;
3. alter table 表名 CONVERT TO CHARACTER SET utf8;
1.show variables like '%char%'
;
2.set character_set_database=utf8;
set character_set_server=utf8;
set character_set_results=utf8;
3. alter table 表名 CONVERT TO CHARACTER SET utf8;