Jump to content

Can't copy table


jlsohio

Recommended Posts

Versions: MySQL-5.0.45  phpMyAdmin - 2.8.0.1

 

I was trying to copy a table in MySQL database, I got this error:

 

 

CREATE TABLE `jugmas`.`2009_top_3yr_olds` (

 

`id` int( 11 ) NOT NULL AUTO_INCREMENT ,

`horse` varchar( 20 ) NOT NULL ,

`starts` int( 2 ) NOT NULL default '0',

`first` int( 2 ) NOT NULL default '0',

`second` int( 2 ) NOT NULL default '0',

`third` int( 2 ) NOT NULL default '0',

`record` varchar( 4 ) NOT NULL default '',

`earnings` int( 7 ) NOT NULL default '0',

`jug_eligible` char( 3 ) NOT NULL default '0',

UNIQUE KEY `horse` ( `horse` ) ,

KEY `id` ( `id` )

) ENGINE = MYISAM AUTO_INCREMENT = 68DEFAULT CHARSET = latin1

 

MySQL said: 

 

#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 '68DEFAULT CHARSET  = latin1' at line 11

 

 

Link to comment
https://forums.phpfreaks.com/topic/159705-cant-copy-table/
Share on other sites

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.