Jump to content

sql error somewhere


eaglelegend

Recommended Posts

hey this is what comes up when I try dyumping my sql tables in my database, I am unsure what is up?

[code][code]SQL query: 

CREATE TABLE colors(

id int( 11 ) DEFAULT '0' NOT NULL AUTO_INCREMENT ,
hex varchar( 6 ) DEFAULT 'dddddd' NOT NULL ,
label varchar( 20 ) DEFAULT 'Medium Gray' NOT NULL ,
PRIMARY KEY ( id ) 
);



MySQL said:  

#1067 - Invalid default value for 'id' 

[/code] [/code]

Link to comment
https://forums.phpfreaks.com/topic/129872-sql-error-somewhere/
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.