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,表结构如下图所示: