Jump to content

Archived

This topic is now archived and is closed to further replies.

gusmacker

FIELDS

Recommended Posts

I try to add a field to a existing database with phpmyAdmin and this is what I get

 

SQL-query :  

 

ALTER TABLE `rbl` ADD `uniq` INT( 5 ) NOT NULL AUTO_INCREMENT FIRST  

 

MySQL said:  

 

 

Incorrect table definition; There can only be one auto column and it must be defined as a key

Share this post


Link to post
Share on other sites

That is what I thought also but it only has 2 fields besides the one I am trying to add and neither is an auto inc field

Share this post


Link to post
Share on other sites

×

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.