Ma définition de la table:erreur MySQL 1005 sur la table créer
CREATE TABLE x (
a INT NOT NULL,
FOREIGN KEY (a) REFERENCES a (id) ON UPDATE CASCADE ON DELETE CASCADE
) ENGINE = InnoDB;
qui produit l'erreur suivante:
ERROR 1005 (HY000): Can't create table './abc/x.frm' (errno: 150)
Qu'est-ce que cela signifie?
La table 'a' existe-t-elle déjà? –