Re: Error Creating table in MySql Administrator
Brandon,
The varchar datatype requires a width:
CREATE TABLE `434_larkin04`.`guestbook` (
`id` INT AUTO_INCREMENT,
`fullname` VARCHAR(50),
`email` VARCHAR(100),
`website` VARCHAR(50),
`words` TEXT,
PRIMARY KEY (`id`)
)
ENGINE = InnoDB
CHARACTER SET utf8
COMMENT = 'Guestbook DB for Assignment 7-1';
`
The error tells you where to look (near '`email`...). The problem is always right before where the error says it is near.
HTH,
Chad
Subject
Written By
Posted
November 05, 2009 10:16AM
Re: Error Creating table in MySql Administrator
November 05, 2009 11:09AM
November 05, 2009 02:49PM
Sorry, you can't reply to this topic. It has been closed.
Content reproduced on this site is the property of the respective copyright holders.
It is not reviewed in advance by Oracle and does not necessarily represent the opinion
of Oracle or any other party.