MySQL Forums
Forum List  »  Quality Assurance

Re: ENUM error in your SQL syntax; check the manual that corresponds to your MySQL server version
Posted by: Scott Nemes
Date: October 24, 2012 11:32AM

You just have some formatting issues:

1) "youtubevarchar(255) NULL" - missing a space between youtube and varchar

2) "account_type' enum('1','2','3') NOT NULL" - you have a random single quote after account_type

Once you fix those two things the statement will work.

--
Scott Nemes
MySQL DBA

http://www.linkedin.com/in/scottnemes
http://www.twitter.com/ScottNemes

Options: ReplyQuote


Subject
Views
Written By
Posted
Re: ENUM error in your SQL syntax; check the manual that corresponds to your MySQL server version
1633
October 24, 2012 11:32AM


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.