Home > Backend Development > PHP Tutorial > 关于PHPMYADMIN跟MYSQL一些问题

关于PHPMYADMIN跟MYSQL一些问题

WBOY
Release: 2016-06-23 13:37:52
Original
901 people have browsed it

*/
/* Table: sdb_admin_roles                                       */
/*==============================================================*/
create table sdb_admin_roles
(
    
   role_id                        int unsigned                   not null auto_increment,
    
   role_name                      varchar(100)                   not null,
    
   role_memo                      text                           not null,
    
   disabled                       enum('true','false')           not null default 'false',
   primary key (role_id)
)
type = MyISAM DEFAULT CHARACTER SET utf8;

/*==============================================================*/
/*
这个数据库表格哪里出错了丫?看不太懂丫
报错是这样的


回复讨论(解决方案)

type = MyISAM
这是什么?
ENGINE=MyISAM  

哥的type关键不是这么写的,看楼上的

非常感谢二楼跟三楼的回答

source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template