さて、私はエラーが表示されます:
#1062 - Duplicate entry '0' for key 'PRIMARY'
この表に:
CREATE TABLE links (
ID smallint(6) NOT NULL default '0',
Position smallint(6) NOT NULL default '0',
Name text NOT NULL,
url text NOT NULL,
IP text NOT NULL,
PRIMARY KEY (ID)
) TYPE=MyISAM;
次のコマンドを使用します。
INSERT INTO links(Position, Name, url, IP) VALUES(0, "Google", "http://www.google.com", "0.0.0.0")
The table is only has one row in it, so why the heck isn't the auto increment working? :<