Evert Ulises German Soto - 2013-07-15 14:29:28 -
In reply to message 1 from Bertho Joris
Bertho Joris:
"Error: SQLSTATE[42000]: Syntax error or access violation: 1075 Incorrect table definition; there can be only one auto column and it must be defined as a key"
...
Hi good day Bertho, you have an error in your ID, you must define the primary key like this:
CREATE TABLE TB_USERS_2 (
ID INT(11) NOT NULL AUTO_INCREMENT PRIMARY KEY,
NAME VARCHAR(100) NOT NULL,
ADDRESS VARCHAR(100) NOT NULL,
COMPANY VARCHAR(100) NOT NULL
);
Best Regards!