Re: Forward engineer... le moteur innoDB n'apparait pas le script
Salut,
il faudrait d'abord vérifier si le moteur InnoDB est bien activé. Pour ça, une requête SHOW ENGINES devrait fournir une réponse dans ce style :
mysql> SHOW ENGINES;
+------------+---------+----------------------------------------------------------------+
| Engine | Support | Comment |
+------------+---------+----------------------------------------------------------------+
| MyISAM | YES | Default engine as of MySQL 3.23 with great performance |
| MEMORY | YES | Hash based, stored in memory, useful for temporary tables |
| InnoDB | DEFAULT | Supports transactions, row-level locking, and foreign keys |
| BerkeleyDB | NO | Supports transactions and page-level locking |
| BLACKHOLE | YES | /dev/null storage engine (anything you write to it disappears) |
| EXAMPLE | NO | Example storage engine |
| ARCHIVE | YES | Archive storage engine |
| CSV | NO | CSV storage engine |
| ndbcluster | NO | Clustered, fault-tolerant, memory-based tables |
| FEDERATED | YES | Federated MySQL storage engine |
| MRG_MYISAM | YES | Collection of identical MyISAM tables |
| ISAM | NO | Obsolete storage engine |
+------------+---------+----------------------------------------------------------------+
Ensuite, si le moteur est bien présent, il faudrait vérifier si dans les scripts de création le moteur est bien indiqué pour chaque table :
CREATE maTable(
colonne ....
) engine InnoDB;
Si ce n'est pas indiqué, alors MySQL appliquera le moteur par défaut défini dans le fichier de configuration (my.cnf ou my.ini)
______________________________________________________________
Une question bien formulée, c'est un problème bien compris : ça représente déjà les 3/4 de la réponse ;)