FreakingOUT Posted January 29, 2014 Share Posted January 29, 2014 (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 Quote Link to comment https://forums.phpfreaks.com/topic/285756-error-1064-mind-boggler/ Share on other sites More sharing options...
FreakingOUT Posted January 29, 2014 Author Share Posted January 29, 2014 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 Quote Link to comment https://forums.phpfreaks.com/topic/285756-error-1064-mind-boggler/#findComment-1466914 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.