0

I already have the database created, and when I go to create a table within it, It's giving me an error of

1064 - You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'Â INT unsigned PRIMARY KEY AUTO_INCREMENT, Â Â Â UserIDÂ INT NOT NULL, Â ' at line 2

CREATE TABLE `lists` 
( `ListID`     INT PRIMARY KEY AUTO_INCREMENT,
  `UserID`     INT NOT NULL,
  `ListURL`      VARCHAR(150)
)

I've tried simple things, and I've added those backticks because I've seen that as a solution to a lot of issues on here, but it's still giving me back the same error. Not sure what the issue is.

4

1 回答 1

0

What text editor did you use to save this command? Did you save it with Word or another similar editor, which may be adding non-ASCII characters to the file?

于 2012-07-27T20:26:11.073 回答