文章列表
mysql设置编码:
命令:set names 'utf8'
相当于修改了 character_set_client=utf8;
character_set_connection=utf8
手动修改命令:
set character_set_database=utf8;
set character_set_server=utf8;
修改数据库编码命令:
alter database tarena character set utf8;
修改表编码命令:
alter table tablename character set utf8;
修改字段编码:
alte ...