Getting Innodb on Xampp for Windows
I thought switching to Xampp would allow me to be exposed to other languages such as Python and Perl, but alas it seems not to have been so yet.
For the past few weeks I’ve been trying to get innodb tables to work on Xampp, without much luck until today. I went from forum to forum, tried everything and was on the verge of giving up and doing a normal separate installation. Worst of all, it came down to one character!
On this forum for example, it says:
Go to your mysql/bin folder and edit the “my” file and uncomment the innodb lines –
skip-innodb
# Uncomment the following if you are using InnoDB tables
innodb_data_home_dir = e:/apachefriends/xampp/mysql/
innodb_data_file_path = ibdata1:10M:autoextend
innodb_log_group_home_dir = e:/apachefriends/xampp/mysql/
innodb_log_arch_dir = e:/apachefriends/xampp/mysql/
The last step in all of this should be comment skip-innodb, so the final listing will look like this:
#skip-innodb
# Uncomment the following if you are using InnoDB tables
innodb_data_home_dir = e:/apachefriends/xampp/mysql/
innodb_data_file_path = ibdata1:10M:autoextend
innodb_log_group_home_dir = e:/apachefriends/xampp/mysql/
innodb_log_arch_dir = e:/apachefriends/xampp/mysql/
Thank God I managed to get this to work, as well as Python now. The steps for that is much much more clearer.

Anonymous
Thanks for this info, i’ve been looking all over for it too.
Amit
Thanx!! This info was needed desperately
Anonymous
Thank you so much and thank you google to put your pust in 1st position
Anonymous
Really thanks!!!
Anonymous
Thank you it saved lot of time and trouble.
Michael
You rock, my friend.
Narayana
Thanks!!
Anonymous
I am tempted to worship you for this, but my religion prohibits it!
Anonymous
Vielen Dank!
Thank you very much!
Anonymous
You da man.. and Google is da man for making this show up on the first page when I was looking for the solution
Anonymous
Not only the first page, but the very first result
Martin Crockett
Thanks, Tohir!
Anonymous
Thank bra, ek se, I needed this stuffs to get my prokejt working. Lekker lekker in die kaap!
Anonymous
hola, disculpa soy principiante en esto de php y mysql y me sale el error: Error en el ingreso de datos: 1064: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ‘* usuario values (….)
bueno quisiera saber si me puedes ayudar ( en espaƱol porfavor)
te lo agradeceria infinitamente
Anonymous
Top job, thanks mate!
Manes
Thank you man, the information you posted is very useful.
Mindaugas
hahahahaha
that’s what programming is about! don;t miss a single char.
Nish
Thanks man ! You saved my life .. good luck ~~~~~~~~~~~
http://www.nishchayshah.com
Ariadie
thanks.
Anonymous
thanks a lot!
Anonymous
my love!
Anonymous
you are an angel.
En Tay
it works …
thx!
Anonymous
Thank you soooooooooooooo much!
Hiram Velasquez
Thanks a lot!!!!!!
hahahahaha great i was looking for this ,for a long time
Anonymous
Muchas gracias por la informacion, hoy mismo lo voy a probar y a usar mis tablas InnoDB en xampp.
Saludos
Andres
Sam
Many thanks for posting this tip
Palinair
Thanks a lot!
David
Thanks for the info – first result on Google for a reason.
As an addendum, this also applies to LAMPP (XAMPP for Linux) except the corresponding file is lampp/etc/my.cnf
Anonymous
Muchas Gracias!!
Anonymous
do you have the info handy for getting Python (2.5) to work with XAMPP?
kostas
thank you very very very mach!!!!!
Mark
There is an easier way to enable InnoDB tables if you use MySQL Administrator (from MySQL).
Just select the “Startup variables” settings screen and on the “InnoDB Parameters” tab, ensure “Activate InnoDB” is checked.
You can also modify the default table engine type under “General paramters” and change the engine type of existing tables under “Catalogs > Edit table”.
Tohir
Hi Mark
That may be correct, but involves the installation of an additional program ;-(
Kraig
Thx heaps mate, Was hitting my head against a wall for this too.
Anonymous
Great notice…
Even more useful information that include whole procedure for transitioning from MyIsam to innoDb
http://www.linux.com/articles/46370