MySQL备忘
select乱码
set character_set_results=UTF8;
select * from table_name limit 1\G
update乱码
update table_name set name = N'你好,世界' where id = 12345 limit 1;
set character_set_results=UTF8;
select * from table_name limit 1\G
update table_name set name = N'你好,世界' where id = 12345 limit 1;