Jump to content

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

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • 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.