mysql 创建数据库和表格
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 //默认系统时间
)