Mira pregunta mia similar en este mismo hilo que ya resolví.
Usa MySql 5 y tablas tipo INNODB.
Pude crear la integridad referencial con tablas tipo innodb así:
Código:
Create table Table1 (columnas) type = innodb;
Create table Table2 (columnas) type = innodb;
create index NombreIndice on Table2 (NombrecolumnaForanea);
alter table table2 add foreign key (NombreColumnaForanea)
references .... ;