1,新建数据库onecms
CREATE DATABASE onecms;
2,新建message表:
CREATE TABLE message(
id int(11) not null primary key auto_increment,
title varchar(255) NOT NULL,
content text NOT NULL)
ENGINE=InnoDB DEFAULT CHARSET=utf8;
3,表结构如下图所示:
看过本课程的同学也在学