Welcome to WebmasterWorld Guest from 126.96.36.199
Forum Moderators: open
Need a little help - I have done this several times with no problems however when I updated my computer I am now getting errors.
I have a table with values Town,Region I now wish to add in an Auto_Increment column into this table. I use id, int 11, not null, auto_increment & select Primary Key. I click save and get this error:
ALTER TABLE `cities` ADD `id` INT( 11 ) NOT NULL AUTO_INCREMENT FIRST
MySQL said: Documentation
#1075 - Incorrect table definition; there can be only one auto column and it must be defined as a key
I am using: phpMyAdmin - 2.11.3 & MySQL client version: 5.0.51
It works fine on: phpMyAdmin - 188.8.131.52 & MySQL client version: 5.0.20.
I just double checked but there is no other primary field & also says in phpmyadmin "No index defined!" I am sure there is no auto_increment.
I can do all of this in the previous version of phpmyadmin/mysql however when I updated it started giving me this error, so any help?