Jump to content

Instalation problems


sebastian_sabo

Recommended Posts

I have an issue during the instalation of a database

The message i get sounds like this:

Error

SQL query:

 

CREATE TABLE categories(

 

id int( 11 ) DEFAULT '0' NOT NULL AUTO_INCREMENT ,

parent_id int( 11 ) DEFAULT '1' NOT NULL ,

name varchar( 25 ) DEFAULT '' NOT NULL ,

description varchar( 255 ) DEFAULT '' NOT NULL ,

PRIMARY KEY ( id ) ,

KEY parent_id( parent_id ) ,

KEY name( name )

);

 

 

 

MySQL said: 

 

#1067 - Invalid default value for 'id'

 

please help me to resolve this.

Link to comment
https://forums.phpfreaks.com/topic/104637-instalation-problems/
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.