Page 1 of 1

how to enable InnoDB in MySQL

PostPosted: 16. September 2007 02:26
by shrg18
I am using XAMPP in windows XP, when creating tables in the phpMyAdmin, the InnoDB type is not in the selection list.

I found the my.cnf file in C:\xampp\mysql\bin, but could not open it to enable InnoDB support.

Anyone can tell me what to do and how to do it?

Thanks.

PostPosted: 16. September 2007 08:25
by sari42
but could not open it
??
use a plain text editor (in case you are using windows: it appears just as "my")

PostPosted: 16. September 2007 14:06
by shrg18
sari42 wrote:
but could not open it
??
use a plain text editor (in case you are using windows: it appears just as "my")


the InnoDB is enabled. thank you.

I used NotePad to upload my.cnf and uncommented the lines regarding InnoDB.

#skip-innodb
innodb_data_home_dir = /opt/lampp/var/mysql/
innodb_dat_file_path = idbdata1:10M:autoextend
innodb_log_group_home_dir = /opt/lampp/var/mysql/
innodb_log_arch_dir = /opt/lampp/var/mysql/

restart windows

InnoDB is among the table type selection list.

PostPosted: 29. October 2007 08:10
by lindabehr
i've download xampp 1.6.4 ..but i cant find the my.cnf ...where's its been placced?

PostPosted: 29. October 2007 08:29
by Wiedmann
but i cant find the my.cnf ...where's its been placced?

http://www.apachefriends.org/en/xampp-windows.html#1172
--> \xampp\mysql\bin\my.cnf

new version

PostPosted: 13. December 2007 03:18
by shrg18
1. open my.cnf

2.# comment out skip_innodb
#skip_innodb

restart the window