中文:mysql属性如何设置中文
mysql属性如何设置中文
mysql中设置中文属性的方法
mysql设置中文属性,需要在表中使用utf8编码
如:
create table test (id int auto_increment,
title text,
content text,
posted_on datetime,
primary key (id)
) character set = utf8;
当数据表不支持中文属性时,使用以下语句对表进行修改便可
alter table 表名 convert to character set utf8;
文章来源:丸子建站
文章标题:中文:mysql属性如何设置中文
https://www.wanzijz.com/view/5270.html