Re: MDB2 MySQL InnoDB & Transactions
| From: | Lukas Smith | Date: | Sat, 22 Apr 2006 13:32:02 +0000 |
| Subject: | Re: MDB2 MySQL InnoDB & Transactions | ||
| References: | 1 | Groups: | php.pear.dev |
| Request: | Send a blank email to pear-dev+get-42320@lists.php.net to get a copy of this message | ||
Matthias Nothhaft wrote:
Hi, a stupid beginner question?: How do I configure MDB2 to be able to use transations with MySQL (using InnoDB)? $config = array( 'default_table_type' => 'INNODB' ); $dbc = MDB2::singleton($mydsn, $config); That's it ???yes
Will MDB2_Schema create all tables using InnoDB with that configuration?yes
Is it possible to mix 'table drivers' using MDB2_Schema? I guess no? :-(mysqldump .. replace s/MyISAM/InnoDB and reimport is the easiest way regards, Lukas