HoKe's picture

after installing Drupal 6 appliance i do have problem to enable InnoDB in MySQL.

can some one help me please?


Liraz Siri's picture

InnoDB is enabled by default, you don't have to do anything.

If you log in to PhpMyAdmin and go to the "Storage Engines" section, you'll notice that InnoDB is not disabled.

See the MySQL manual for more information (13.2.3. InnoDB Configuration).

HoKe's picture

in my.cnf is skip-innodb commented out = enabled innodb in mysqld. I tried to run live system to see defaults and realised following:
mysql> show engine innodb status;
ERROR 1235 (42000): Cannot call SHOW INNODB STATUS because skip-innodb is defined
please help ;) if possible
thx in advance
Liraz Siri's picture

I booted the version of the appliance you are using in live mode (I.e., without installation) and the InnoDB engine is enabled, as it should be.

If you want me to try and investigate/reproduce your problem you are going to have to give me a great deal more information:

* what version of the appliance are you using?
* are you using the appliance in live mode or installed to a hard drive?
* what kind of machine or virtual machine is running the appliance? how much memory does it have?
* did you reconfigure mysql in any way?
* could you try starting over and see what it takes to reproduce this problem?

HoKe's picture

no problem to give you requested information
Live mode. 8GB HDD ready but not used for installation
VM - VirtualBox-2.1.0-41146-Win_x86.msi
512 MB RAM
no reconfiguration
I did only following:
mysql -u root -p
inserted password
mysql> show engine innodb status;
ERROR 1235 (42000): Cannot call SHOW INNODB STATUS because
skip-innodb is defined
mysql> show engines;
HoKe's picture

finaly I found a solution.
/etc/init.d/mysql stop
mv /var/lib/mysql/ib_logfile0 /var/lib/mysql/ib_logfile0.bak
mv /var/lib/mysql/ib_logfile1 /var/lib/mysql/ib_logfile1.bak

/etc/init.d/mysql start
now it works! great ;)
Liraz Siri's picture

I did a little research on why your solution works and it seems that though InnoDB is enabled by default, MySQL seems to disable it automatically if your InnoDB log files get corrupted. When you remove them, they are recreated, allowing InnoDB to start again.

Thanks for sharing!

Ryan B's picture

Thanks for the tip! This solved the problem for me also. 

CaioToOn!'s picture

Thank you, Hoke!

I'm not even using Drupal, and the solution you provided has saved me! Seens like a bug with the log files!


Thank you, again!


Philippe's picture

/etc/init.d/mysql stop
mv /var/lib/mysql/ib_logfile0 /var/lib/mysql/ib_logfile0.bak
mv /var/lib/mysql/ib_logfile1 /var/lib/mysql/ib_logfile1.bak

/etc/init.d/mysql start

This is THE ULTIMATE solution !

Merci beaucoup

Hayden's picture

You saved my website. Thank you very much for sharing this solution.

You just made my day HoKe.

Prashant's picture

This is work fine but after the some time it is happening again. so this is not perfect solution. :(

Jeremy Davis's picture

Something, somewhere must be causing this if you are having recurring issues. I just did a quick google and it seems that there are a lot of InnoDB settings that can be tweaked in MySQL regarding it's behaviour. I think that they are worth further exploring...

SeLoRe's picture

I cant believe that I tried too much thing and the last it worked. thank you very much.

Arne's picture

Thanks - this worked perfectly - very strange that something like this would work.

Dhanooj Kolathuparambil's picture

thanks that worked!!
Alon Swartz's picture

As Liraz mentioned, InnoDB is enabled by default.
# mysql -uroot
> show engines;
 InnoDB     | YES
But if you want it to be your default storage engine you have to specify it, for example:
# cat /etc/mysql/conf.d/storage_engine.cnf
default-storage-engine = InnoDB

# /etc/init.d/mysql restart

# mysql -uroot
> show engines;
 InnoDB     | DEFAULT
Guest's picture

I ran across this same problem w/ Joomal and your solution did the trick thanks so much!

Ville's picture

Thanks so much for this information! I had the same problem here.

Nick's picture

This worked for me.  One thing to note was that I had to add default-storage-engine=innodb directly below the commented skip-innodb statement.  This is on CentOS 5.3.


Rui's picture

Hi there. I'm having trouble enabling InnoDB.

mysql> show engines;
| InnoDB     | DISABLED

mysql> show engine innodb status;
ERROR 1235 (42000): Cannot call SHOW INNODB STATUS because skip-innodb is defined

But I don't have "skip-innodb statement" in my.cnf! It's a very small file, only a few lines.

cat /etc/my.cnf

# Default to using old password format for compatibility with mysql 3.x
# clients (those using the mysqlclient10 compatibility package).

# Disabling symbolic-links is recommended to prevent assorted security risks;
# to do so, uncomment this line:
# symbolic-links=0



I already tryed removing files /var/lib/mysql/ib* and restarting mysqld, but the problem remains. I've updated mysql to the latest version using YUM (BTW, I'm using CentOS 5)

# mysql -V
mysql  Ver 14.12 Distrib 5.0.77, for redhat-linux-gnu (x86_64) using readline 5.1


Anyone can help me? Thanks.

Rui's picture

I solved my problem. It seem that is was a permission issue:

cat /var/log/mysqld.log

/usr/libexec/mysqld: Can't create/write to file '/tmp/ibJpS3fB' (Errcode: 13)

All I needed was a "chmod 777 /tmp" to get InnoDB working...

Thanks anyway

Ranjeet Kumar Nag's picture

Wow , its nice command

Guest's picture

I am unable to enable the innod engines support in my server, skip-innodb is not mentioned in the my.cnf file but while I execute the show engines; syntax I am getting the below result which says that InnoDB is Diasabled.


mysql> show engines;
| Engine     | Support    | Comment                                                                          |
| MyISAM     | DEFAULT    | Default engine as of MySQL 3.23 with great performance                           |
| MEMORY     | YES        | Hash based, stored in memory, useful for temporary tables                        |
| InnoDB     | DISABLED   | Supports transactions, row-level locking, and foreign keys                       |

And when I run the query mysql> show engine innodb status; the result was "ERROR 1235 (42000): Cannot call SHOW INNODB STATUS because skip-innodb is defined" even the skip-innodb was not mentioend in the cnf.

Skip-innodb was not mentioned in the my.cnf file by while I execute the show engine innodb status; I am getting the below result which says " Cannot call SHOW INNODB STATUS because skip-innodb is defined".

mysql> show engine innodb status;
ERROR 1235 (42000): Cannot call SHOW INNODB STATUS because skip-innodb is defined

L. Arnold's picture


There is a setting in MySQL in Webmin to set default engine to InnoDB.   Unfortunately, if you enable it, then use the "save and restart" MYSQL Server, the Server won't start.

Plus I just lost the old version of the setup.  TKBAM here we go again.


creating a storage_engines.cnf file breaks MySQL

adding a line

default-storage-engine = InnoDB

also breaks MySql

In phpmyadmin, InnoDB is not even listed as optional Engine.

Not sure how to proceed.  Trying to install Magento in related folder and it requires InnoDB

any help is appreciated.


L. Arnold's picture

I can't add this to my.cnf either manually or with the script.

MySQL will not start up again w/ it in Joomla.

storage_engine MyISAM is not editable in MySQL system variables...

Thoughts here? 

Thank you,

L. Arnold's picture

Adrian set me up with a webmin-mysql install that did take InnoDB this AM on a Magento system.  The patch had a separate MySQL install in the sequence so I think the Joomla RC simply needs a uninstall and reinstall of MySQL hoping all the while that the users passwords move correctly (not sure how simple that can be).

Maybe there is an easier way.

opdahl's picture

L. Arnold mentions that Adrian set him up with a webmin-mysql install that gott InnDB working on his system. Is there something similar that I can do? I have a TKL LAMP system on to which we are currently installing vTiger. We've just entered in all of our users (around 80) and went to do a maintenance release of vTiger to 2.5.1 that requires we switch to InnoDB as our engine. It's not showing up as available at all in our image and 'enabling' it from within Webmin breaks MySQL just as it did for L. Arnold.

Thanks -- and you guys have a great overall product here!

L. Arnold's picture

This is the quote of the instructions that were sent by Adrian to get some access.  I think however that it is the "back end" of MySQL that is important and I would be careful about "uninstalling" MySQL as you might also lose your data:

There is also in the Magento Patch thread on the Forum.  Install MySQL is mentioned as part of the patch.  Someone should research how to "step up" MySQL.  IE, the Magento Patch is going over the TKL Lucid 11rc Core build.  MySQL being loaded must somehow be different than what is going into the 11rc builds that have MYSQL preloaded.  (I will explore on my Joomla 11rc build that also won't take InnoDB.


note the && should be treated as a separate line in SSH :12320 setup.  I have bad experience running some systems just from the command line in WebMin though I prefer to stay in WebMin.

Also, by having this access I was able to change my MySQL passwords for security sake.


You can install the webmin modules

You'll have to do it from the black screen, but it's easy. Log in via ssh. then run:

apt-get update && apt-get install webmin-mysql webmin-apache

That way you'll add those modules to webmin. They should take the default configuration. After that, log in via webmin, and check for the modules. That way you can log into the database through webmin using xxxz /xxxy user/pass.

Jeremy Davis's picture

But you should be able to recreate the MySQL setup in Adrian's Magenta patch by simply using the Webmin module. webmin-mysql is a Webmin module for administering MySQL (and webmin-apache is for configuring Apache2). If it contains a slightly updated MySQL install then you should be able to update that using apt eg:

apt-get install mysql-server

You also need to update the package database (apt-get update) and you can include the installation of the Webmin module too if you want. You can do it all in one line like this:

apt-get update && apt-get install webmin-mysql mysql-server

if it says that MySQL is already at the newest version then it is.

PS it can all be the one line. the "&&" basically means 'do the bit on the right once the bit on the left has finished'.

L. Arnold's picture

I am going to try this, but possible word of caution.  It may be that certain settings need to be loaded in your cfg files -- at the very least, make a copy of my.cnf (location referenced above somewhere - I think -> here


 The default install has quite a bit of annotation in it.  My experience earlier this week was that Webmin (in Joomla 11rc) was reformatting the file pretty extensively and importantly taking out the annotations which you can learn from.

By being able to get the original text back into that file I could get MySQL to start after a "break" trying to set InnoDB.

Test next on my "empty" Joomla box.  lets see if it works tommorrow AM.  its late.

opdahl's picture

Thanks for the advice and support everyone.

So, with enough poking around today I found this:


Here's a succinct quote:

There is a innodb_plugin shipped with Ubuntu 10.04. The problem is it's 1.05 and they have no plans of ever updating it...In fact according to what they said they will never ship a newer version of mysql than 5.1.41 for the 10.04 LTS Which means it will be years before we can use innodb_plugin in a supported manner on Ubuntu LTS.

Ouch. Except that if you click through the actual conversation, it seems that you can compile a recent version of MySQL for yourself that would contain all the latest-n-greatest stuff. If you don't, you need to use an old version of the plugin and deal with any instabilties that may create.

I'm not nearly brave (nor competent) enough to try compiling MySQL and then recreate all the necessary configs to get it running in TKL like it is now (Stable, secure, etc.). Now if there were a script... :-)

Jeremy Davis's picture

And as for versions, the way that Ubuntu (and usually Linux in general) works is that the version of software that ships with it is the only version that will be ever be available - sort of! When I say sort of I mean that they will actually provide ongoing support for it - security patches are backported and sometimes even stability patches too, but essentially the version remains the same. While this means that you miss out on new features, the tradeoff is that overall system stability is far, far better and the likelihood of a server being secure is increased (especially with TKL auto installing security updates).

That then means that unless you wish to compile your own version of MySQL (and recompile everytime that a security patch etc is released) you are stuck with what you've got. There are a couple of other options but they are far from ideal. One being set up your own server from scratch using a later version of Ubuntu. Or try to find someone else who has done the hard work for you (ie compiled MySQL ready to go) - the major downfall of this is that you don't know who they are or how trustworthy or reliable they are.

Benjamin's picture

From what I've read, the plugin has been available as part of the mysql distro since version 5.1.38, you just need to configure your my.cnf to use it.

L. Arnold's picture

Technically Jed meister's line is a script:

apt-get update && apt-get install webmin-mysql mysql-server

Unfortunately TKL joomla 11rc is not taking the mysql-server part (though there is a server built in).

I spent a lot of time  (you are welcome to read the lower part of this, but my conclusion is tht this must have something to do with the debian.cnf file (directly above my.cnf) as calling InnoDB as the default, no matter what, kills this version, and any thing apt-get will call, in MySQL. 

This line is in System Variables of the two systems. 

ignore_builtin_innodb OFF

The only variable I believe there is left is that Adrian's Magento Build was built from Core rather than perhaps a LAMP build as I expect Joomla was built (because it has a PostFix server also attached).

I will peer a bit into the Magento Patch to see if there isn't some other call that was made when installing MySQL.  There is probably an extra line somewhere in the "sources" setup which would tie into why the mysql-server command is not taking.  (I can't find the sources just this minute)

back in a bit.

L. Arnold





I looked a bit at the Magento thread and there is a call out in Adrian's Magento thread with the same call (later on the line there is also a call to "php5-mysql".

I just did a call to "php5-mysql" and got the response in my SSH box:

  • "the following packages were automatically installed and are no longer required.
  • webmin-mount
  • use 'apt-get autoremove' to remove them."

Seems webmin-mount is an important piece here...So...  I log into web-min, go to mysql server, change the default again to InnoDB,  press save.  Server Stops..   won't restart.

Back to File manager, rename my.cnf to my.cnf.bak3....  rename my.cnf.bak2 to my.cnf

Back to MySQL Database Server (in WebMin) and the Server is all by itself running again.

Not sure what to do.  I still get the following error when trying to get a Magento install running on this "testbed"  (not Adrians).

    • Database server does not support the InnoDB storage engine.
    • Database connection error.

Under Engines (seen in phpmyadmin which I can see on this system but not on Adrians Magento Build)  I see the following available:

MyISAM Default engine as of MySQL 3.23 with great performance
MRG_MYISAM Collection of identical MyISAM tables
BLACKHOLE /dev/null storage engine (anything you write to it disappears)
CSV CSV storage engine
MEMORY Hash based, stored in memory, useful for temporary tables
FEDERATED Federated MySQL storage engine
ARCHIVE Archive storage engine

Perhaps we have the BLACKHOLE build going, but tbo, I am not sure even what the default engine is here.  Probably "Federated" as it shows up with a slightly different color in my actual list (don't take this as absolute).  my.cnf says (NADA) about default engine.

It does say this (and seems to have info commented out, so I am going to Uncomment the first line below and see what happens ...)  Just Did but nothing:  # and * both appear to be comment codes, and I don't think simply saying InnoDB will do anything.

# * InnoDB

# InnoDB is enabled by default with a 10MB datafile in /var/lib/mysql/.
# Read the manual for more InnoDB related options. There are many!

So, now on to the Adrian's Magento build of my.cnf  (need to shut this one down as they share the same IP and Host config.... I believe I toggled the default in this one to read  (again all comments gone which is the sign of a WebMin Edit and save command)

expire_logs_days    = 10
max_binlog_size         = 100M
default-storage-engine = InnoDB

So, Manually add the default-storage-engine=InnoDB  and MySQL is not running again.  Can Manually Remove it (bypassing Webmin) and it is running again..  but for Grins I am going to restart the box..

index.php on the box:

  • Database Error: Unable to connect to the database:Could not connect to MySQL

comment the line back out (# default-storage-engine=InnoDB) and everything is working again.

I'll bet the issue is in debian.cnf  which seems to have all to do with the Debian mysql.sock scripts which I don't know anything about to comment...

Lets get this fixed somehow.

L. Arnold

Jeremy Davis's picture

Technically Jed meister's line is a script:

Only just! Its only 2 lines of code condensed with &&, the first part updates the package database (a list of what packages are available) and the second part installs a MySQL Webmin module (which is basically just a WebUI for changing the MySQL conf file) and MySQL server itself. If MySQL is installed already then it will update it if a newer version is available, although it shouldn't do anything as the most recent update (about a week ago) was a security update so should have been applied automatically already,

Unfortunately TKL joomla 11rc is not taking the mysql-server part (though there is a server built in).

In other words its already at the latest version. It is the same version as is included in Adrian's Magento patch.

I spent a lot of time  (you are welcome to read the lower part of this, but my conclusion is tht this must have something to do with the debian.cnf file (directly above my.cnf) as calling InnoDB as the default, no matter what, kills this version, and any thing apt-get will call, in MySQL. 

Not 100% sure how you reached this conclusion (even after reading below) but I strongly suspect that whatever the difference is, you will find it in the overlay files of Adrian's Magento patch. Either that or there is something specific that the Magento install does.

This line is in System Variables of the two systems. 

ignore_builtin_innodb OFF

Not sure what this means, but assuming that innodb works in Adrian's Magento patch despite this, but not elsewhere then it would seem to me that this is not relevant and is being ignored or overridden somewhere.

The only variable I believe there is left is that Adrian's Magento Build was built from Core rather than perhaps a LAMP build as I expect Joomla was built (because it has a PostFix server also attached).

But the Devs base all appliances on Core so other than extra bits (which I doubt would make this difference) they are in effect the same.

I will peer a bit into the Magento Patch to see if there isn't some other call that was made when installing MySQL.  There is probably an extra line somewhere in the "sources" setup which would tie into why the mysql-server command is not taking.  (I can't find the sources just this minute)

As I said I'd have a good look in the overlay folder and see if there is something in a conf file somewhere there. Not quite sure what you mean by "sources" here?

I just did a call to "php5-mysql" and got the response in my SSH box:

  • "the following packages were automatically installed and are no longer required.
  • webmin-mount
  • use 'apt-get autoremove' to remove them."

php5-mysql is a mysql plugin for php and I doubt it is relevant to your issue. The other remark you make about webmin-mount is also completely irrelevant. This is basically a minor bug in my opinion. It is just another Webmin module which is completely unrelated. You can either remove the webmin-mount package using apt-get autoremove as suggested (or apt-get remove webmin-mount) or mark it as manually installed (ie not automatically installed) by running apt-get install webmin-mount.

Lets get this fixed somehow.

I strongly suggest you do some background reading on Linux, package management, etc so you can get a clearer idea of what you are looking for and what may or may not be relevant. Also posting on the Ubuntu forums may be worth a shot. Perhaps someone else over there has a solution.

Bottom line: if this is really important to you and its not working with TKL/Ubuntu 10.04 then perhaps you need to consider building a server from scratch based on the newer Ubuntu 10.10 server (which AFAIK includes MySQL 5.1.49 & InnoDB 1.07). Adrian's Magento patch may work on that also although I couldn't be sure.

L. Arnold's picture

#!/bin/bash -ex
    DEBIAN_FRONTEND=noninteractive apt-get -y \
        -o DPkg::Options::=--force-confdef \
        -o DPkg::Options::=--force-confold \
        install $@

    rm -r /var/cache/apt/*
    mkdir /var/cache/apt/archives


install mysql-server works later in the patch script.


L. Arnold's picture


(still don't see the actual "line of code" needed to remove and properly reinstall... but it is looking like MySQL would need to be uninstalled, then reinstalled using some of the code in the patch and referenced usage in the link...

    DEBIAN_FRONTEND=noninteractive apt-get -y \
        -o DPkg::Options::=--force-confdef \
        -o DPkg::Options::=--force-confold \
        install $@

The realilty is that Ubuntu Lucid needs to make InnoDB work for many reasons it seems.  Other work to do for now.  I do still want Joomla and Magento to coexist but will probably apply Joomla to the Magento box if I can now.

Jeremy Davis's picture

apt-get remove --purge mysql-server

I am certainly no expert in these things but I don't think the install routine in TKLPatch would make much difference. If you think it will then test by simply creating a script like this (from SSH)

nano install-mysql.sh

then in the empty file that will open copy-paste (or type):

#!/bin/bash -ex
DEBIAN_FRONTEND=noninteractive apt-get -y \
        -o DPkg::Options::=--force-confdef \
        -o DPkg::Options::=--force-confold \
        install mysql-server 

<Ctrl><x> to save and exit. Then make the script executable (first line) and run it (secondline):

chmod +x mysql-install.sh

The script should run ok (I haven't tested it) but TBH I don't think it will solve your issues - but I hope for your sake it does!

L. Arnold's picture

It seemed that the process was solvable so I kept looking at what I could find.    I do think it will be a big problem though if InnoDB is not supported in the next build.  Magento, for instance, requires it and it seems to be broadly used in other systems.

There are builds, for instance from JumpBox that have everything packaged (at a price).

I don't believe that Magento changed anything in the MySQL build as Magento would not take after a normal install on the Joomla Box.  On the Magento Patch Box it did take (yes after working on it for a while - but some of those problems were from my not understanding the "directions".  Others from the directions having caveats that needed to be worked through.

Anyway, this is all a "RC" subject.  Not even pertaining, that I can see, to current builds.

all the best,

L. Arnold


This thread seemed to finish off  with some rather negative conclusions.

Here is what I found:

1) InnoDB failed to start after install of the TKL LAMP 11RC.

2) The innoDB config in /etc/mysql/my.cnf is basically blank so is of little help.  This initially lead me to wonder if I needed to add in some reasonable defaults to "fix" the problem.  Apparently the defaults are stored elsewhere.

3) If the innoDB engine fails to start the default settings do not show up in webmin, but do appear when the engine starts successfully.

4) I found deleting the /var/lib/mysql/ib_logfile0 and /var/lib/mysql/logfile1 as suggested by the devs above then a mysql restart and I was good to go.  Note that THEN I was able use the Webmin MySQL Server Config to change the default storage engine without issue.  Reversing that order might not be as successful as the default engine would fail. 

5) There are several issues published elsewhere regarding apparmor, plugins etc that proved to be great distractions but were not ultimately helpful.

For me the only issue has been finding the cause of the initial corruption with the innoDB logs during the install.  I have had no further log problems.  Has anyone reported log problems over time?

BTW, just to be explicit.... none of the above is a criticism of TKL but I wanted to change the direction of this thread so others do not give up on InnoDB prematurely.  I suspect the problem is related to an install error and InnoDB's particular nature.

Great product!  Switched from CentOS because of TKL.




Charlie's picture

This thread made me sad, confused, and happy.  But long story short, I deleted the two log files you mentioned, changed the default engine to innodb and restarted and all is well. PMA reflects the change and I can start working.

L. Arnold's picture


Thanks for your succinct and upbeat update.  I was reading about the log files in another thread as well.  Fully agree about the great product.  I am expecting the final version releases that are being worked on now will have this worked out. Great to know we can, so simply, work it out now as well.  May have to try a TKL Magento Patch on top of LAMP again.  It is nice having PHPMySQL be autoconfigured - though I note lots of good info here on configuring MySQL as well.

Chad Huntley's picture

I went through SFTP and deleted the log files. Restarted MySQL and everything worked perfectly!

Matthew's picture

Thanks so much for that tip...I had basic CentOs 5.6 LAMP server installation running locally when a power outtage occured. Upon reboot I had to run fschk -y manually so the O.S. would start.

I guess it must have damaged the innodb logs and the mysqld service wouldn't start without using the skip-innodb option.

I tried every way possible to recover my innodb databases but nothing worked. Sometimes the simplest solutions are the best. Simply deleting them (the innodb logs) did the trick for me.

Matthew's picture

I forgot to say kudos to Philippe for the tip.

nareshkumar's picture


      I already  installed mysql server in my local when in installed php with mysql option my old databases are overrided by the php how to recover my old databases.

plz help me

do send me reply to my email id thank you

Mark Maunder's picture

Thanks, this fixed the issue for me too. 

Just a tip. It seems that on my installation of Ubuntu there was no error logging for mysql to syslog, a log file or anywhere else. I grepped the whole /var/log directory.

So if you want to catch this error in future, make sure you have error logging set in your /etc/mysql/my.cnf file.

Under the [mysqld] section add:

log-error = /var/log/mysql/mysql-error.log

Assuming your mysql log files live in /var/log/mysql/


Thanks again,



Jeremy Davis's picture

Perhaps someone who has a TKL appliance in front of them (which comes installed with MySQL) could have a quick look and see if TKL uses the Ubuntu default (I assume that it would). If so perhaps we could suggest this improvement to the devs via a blueprint?

swati's picture

I have site in drupal 7. The site is very very slow. It consumes almost 100% CPU resources even if only one user is surfing the site.

The site has multiple content types. I have to migrate data from other site so I am using few modules for migrating data.

I am using few more modules like Image cropping, Autosave, Page title, Module for Meta tags etc

I dont think I am using any module which can slow down the site.

Pls help to figure the root cause of slowness and improve the performance of the site.

Jeremy Davis's picture

Assuming that it is, then seeing as your question isn't really related to this thread, please start a new thread.

If you are not using a Turnkey Linux Drupal 7 appliance, then you are better off getting help from one of the many official and unofficial sites which specialised in supporting Drupal...

Al's picture

After 4 years this page is still useful!

I changed the Innodb log file configuration, to match 25% of the updated innodb buffer pool size that I had just set. Upon restarting Mysql, have_innodb remained set to "NO".

Gone to the innodb log directory, renamed the logs to .bak as pointed out in this comment: Hoke - Tue, 2009/01/20 - 00:22.

It is worth mentioning that Phpmyadmin's "Advisor" page specifies that innodb log files will need to be manually removed if the variable value is changed. What it does not tell, is that if you do not do this, you will not just lose this change: the entire storage engine will not start.   :-)

Rahul Soni's picture

Liraz Siri ,

Thanks dude.....

tkafesu's picture

rm -rf /var/lib/mysql/ib_log*

/etc/init.d/mysql restart



works best

tkafesu's picture

rm -rf /var/lib/mysql/ib_log*

/etc/init.d/mysql restart


it should work perfectly

Add new comment