I am having a problem switching storage engines in mysql, everything seems to work fine but it just doesn't switch from myISAM to InnoDB am i doing something wrong ?
here is what i did
enabled the InnoDB engine in mysql using the following commands
db configuration setprop mysqld innodb enabled
expand-template /etc/my.cnf
sv t /service/mysqld
in the /var/log/messages it looks like it worked
Jun 22 08:35:13 fubar /sbin/e-smith/db[28160]: /home/e-smith/db/configuration: OLD mysqld=service|LocalNetworkingOnly|yes|status|enabled
Jun 22 08:35:13 fubar /sbin/e-smith/db[28160]: /home/e-smith/db/configuration: NEW mysqld=service|LocalNetworkingOnly|yes|innodb|enabled|status|enabled
I am running sme server 7.3, my mysql version is 4.1.20. from everything i've read that version supports InnoDB
the command i used to change and check if it changed was
mysql> alter table pools engine=innodb;
Query OK, 3 rows affected, 1 warning (0.05 sec)
Records: 3 Duplicates: 0 Warnings: 0
mysql> commit;
Query OK, 0 rows affected (0.00 sec)
mysql> show create table pools
-> ;
+----------+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
| Table | Create Table |
+----------+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
| pools | CREATE TABLE `pools` (
`pool_id` int(11) NOT NULL auto_increment,
`name` varchar(30) NOT NULL default '',
PRIMARY KEY (`pool_id`)
) ENGINE=MyISAM DEFAULT CHARSET=latin1 |
+----------+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
1 row in set (0.06 sec)
mysql> show warnings;
Empty set (0.00 sec)