Zero
Zero

Reputation: 297

Can you alter the table to change engine types in MySQL? (MYISAM to INNODB)

I would rather not drop my table entirely to create a new one, but I need to change the ENGINE type from MYISAM to INNODBfor foreign key contraints.

Upvotes: 1

Views: 707

Answers (1)

Kelly
Kelly

Reputation: 3709

From the manual:

    ALTER TABLE t1 ENGINE=InnoDB;

Upvotes: 2

Related Questions