MySQL Forums
Forum List  »  Install & Repo

Re: cannot change 'root' user password
Posted by: Alejandro Silva
Date: July 11, 2008 06:13PM

Hi,

I'm getting a very similar error message in a very similar environment. In my case, I'm trying to create a table with:

CREATE TABLE `becene`.`tbl_student` (
`student_id` INT NOT NULL AUTO_INCREMENT,
`first_name` VARCHAR,
`last_name` VARCHAR,
PRIMARY KEY (`student_id`)
);

But I get the following error message:
Error executing SQL commands to create table.
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 '
`last_name` VARCHAR,
PRIMARY KEY (`student_id`)
)' at line 3 (error 1064)

I'm running MySQL 5.0.51b on Mac OS X 10.4.11 and I'm new to MySQL :-(

Alex

Options: ReplyQuote


Subject
Written By
Posted
Re: cannot change 'root' user password
July 11, 2008 06:13PM


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.