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,表结构如下图所示:
。。。。。。6年前
520zy
小张5年前
create database onecms;//创建数据库 create table message( id int(11) not null primary key auto_increment, title varchar(255) NOT NULL, content text NOT NULL) ENGINT=innoDB DEFAULT CHARSET=utf8;
0