
February 26th, 2005, 06:51 AM
|
|
Registered User
|
|
Join Date: Feb 2005
Posts: 2
Time spent in forums: 37 m 40 sec
Reputation Power: 0
|
|
|
MySql Error 1075
Greetings,
I was installing a mod for my phpbb forum, and one of the instructions said:
Quote: CREATE TABLE phpbb_canned (
canned_id mediumint(8) unsigned NOT NULL auto_increment,
group_id mediumint(8) unsigned NOT NULL default '0',
canned_title varchar(100) NOT NULL default '',
canned_message text NOT NULL,
canned_enable_bbcode tinyint(1) NOT NULL default '0',
canned_move_after_post tinyint(1) NOT NULL default '0',
canned_lock_after_post tinyint(1) NOT NULL default '0',
sortorder smallint(4) NOT NULL default '0',
PRIMARY KEY (canned_id),
KEY group_id (group_id)
) TYPE=MyISAM; |
After doing all that, I get this error when I try to save:
Quote: | #1075 - Incorrect table definition; There can only be one auto column and it must be defined as a key |
What am I doing wrong?
|