Jump to content

Error 1064 Mind Boggler


FreakingOUT

Recommended Posts

(On ISP's Server)

MySQL  Version 5.5.14

PHP Version 5.2.17

 

I spent over an hour trying to figure out why this very simple sample code from an article keeps yielding an Error 1064 message.  Now my eyeballs are rolling and I am Freaking OUT ;-(

 

CREATE TABLE employee (
id smallint(5) unsigned NOT NULL,
firstname varchar(30),
lastname varchar(30),
birthdate date,
PRIMARY KEY (id),
KEY idx_lastname (lastname)
) ENGINE=InnoDB;

 

I even  deleted the KEY idx_lastname (lastname) line but that didn't work ;-(

 

My repeated attempts were using both PHPMyAdmin and MyQSL Workbench.

 

What am I missing???

 

Thanks very much for any insight(s).

 

- FreakingOUT

 

Link to comment
https://forums.phpfreaks.com/topic/285756-error-1064-mind-boggler/
Share on other sites

This is just too weird. 

 

I turned everything off and went to bed disillusioned.  Woke up at 3AM and decided to try again, this time copy & pasting the same exact code from my posting and FINALLY the test TABLE was created.

 

Perhaps there is a glitch in my ISP's installation.

 

Sorry for the bandwidth.

 

-FreakingOUT

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.