标签:
mysql创建utf-8字符集数据库
CREATE DATABASE db_name DEFAULT CHARACTER SET utf8 COLLATE utf8_general_ci;
create table cc(
id int(4) primary key auto_increment, //自增列
createtime timestamp NULL DEFAULTCURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP //默认系统时间
)
标签:
原文地址:http://www.cnblogs.com/xgq2014/p/5513706.html