MySQL Forums
Forum List  »  Newbie

help with a script
Posted by: Joakim Abrahamsson
Date: July 13, 2012 08:50AM

I am following a guide to create a database for vsftpd and in there it is using mysql to handle the usernames.

the following line is what i am supposed to type in to make all the neccessary tables and what not but i get an error 1064 (42000) and i have no idea whats wrong.

Any help would be highly appreciated.

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 ;

should I type it all in as 1 long command or separate each line ?

/Joakim

Options: ReplyQuote


Subject
Written By
Posted
help with a script
July 13, 2012 08:50AM
July 13, 2012 09:31AM
July 16, 2012 07:18AM
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.