Home
BBB Yahoo

MySQL Tips

By Robert John Stevens, CEO of WriteExpress Corporation

How to enable InnoDB for MySQL

To enable InnoDB on a Linux server to install Magento eCommerce:

From a Linux shell type mysql and then SHOW STORAGE ENGINES; to see if InnoDB is enabled. If yes, the Support column will say YES.

If InnoDB is not enabled then type:
vi /etc/my.cnf
and comment out the line skip-innodb by adding the # sign before it. It should look like this:

#skip-innodb

Now save the file by entering:

:wq

And restart your mysql service with the following commands
mysqladmin -u root -p shutdown
/etc/rc.d/init.d/./mysql start

It worked for my running RedHat Linx and 5.0.51a-community MySQL Community Edition



Copyright © 2011 Robert Stevens. All rights reserved.

This article was commenced on December 17, 2010. Last update: December 17, 2010.


Ad by Google

© 1996-2011 WriteExpress Corporation. All rights reserved.
WriteExpress®, Rhymer® and Unblocking Writers' Block® are registered trademarks of WriteExpress Corporation.