Click here to Skip to main content
15,923,852 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
Hi guys im having problem with phpmyadmin: i cant put in the autoiincrement index in a table, this is the query

CREATE TABLE `sito`.`messages` ( `index` INT ,`mittente` VARCHAR(255) NOT NULL , `destinatario` VARCHAR(255) NOT NULL , `message` VARCHAR(255) NOT NULL , PRIMARY KEY (index) ) ENGINE = InnoDB; 


it returns a syntax error

What I have tried:

i tried to not specifing the engine
Posted
Updated 30-Mar-22 7:50am

1 solution

click on A_I block on row of the setted primary key
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900