MySQL备忘

  |   0 评论   |   0 浏览

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;