I'm not sure but I haven't done this before.
Let say I have ,
Table A (MyISAM)
Table B (InnoDB)
I want to insert a foreign key into Table B referencing Table A primary index.
Is this possible?
If not should I convert Table A to innoDB?
| SitePoint Sponsor |
I'm not sure but I haven't done this before.
Let say I have ,
Table A (MyISAM)
Table B (InnoDB)
I want to insert a foreign key into Table B referencing Table A primary index.
Is this possible?
If not should I convert Table A to innoDB?


myisam is necessary if you want to use fulltext indexing (or geolocation, if i recall correctly)
or if you're tuning an app for massive read and infrequent update
otherwise, yes, make it innodb, because the FK won't work otherwise
I can't believed the InnoDB is not supported by my web hosting.
Is there an alternative for the InnoDB engine?


Can you name it? what engine is a good alternative for InnoDB?
thanks in advanced.


there are many different types of engines...
http://dev.mysql.com/doc/refman/5.0/...e-engines.html
my point was, if your host doesn't support innodb, what are the chances that one of these other engines will be supported?
not very likely, would be my guess
So what do you think the reason they don't support it r937?
Because I asked them the reason but they don't let me know.


Thanks again r937
I'll do that.
Bookmarks