MySQL Forums
Forum List  »  Newbie

Re: help with a script
Posted by: Joakim Abrahamsson
Date: July 16, 2012 07:23AM

USE vsftpd;

CREATE TABLE `accounts` (`id` INT NOT NULL AUTO_INCREMENT PRIMARY KEY ,`username` VARCHAR( 30 ) NOT NULL ,`pass` VARCHAR( 50 ) NOT NULL ,UNIQUE ( `username` )) ENGINE = MYISAM ;

Are there any spaces or anything else i am missing?
I pasted in the entire code as i am currently typing in it.

editor here cuts it but just 1 space between primary and key and same between unique and ( 'username' ))

i appreciate you taking time and looking at it.

/Joakim

Options: ReplyQuote


Subject
Written By
Posted
July 13, 2012 08:50AM
July 13, 2012 09:31AM
July 16, 2012 07:18AM
Re: help with a script
July 16, 2012 07:23AM
July 16, 2012 07:52AM
July 16, 2012 09:41AM
July 16, 2012 09:56AM


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.