deepsurfer wrote:Stellst sich die Frage ob MySQL 5 überhaupt noch "InnoDB" unterstützt, denn ab XAMPP 1.5.0 gibt es nur den MySQL 5 und kein MySQL 4.x.x
Klar unterstützt MySQL 5 auch InnoDB... Die können ja nicht einfach die meistbenutzte Engine mit Foreign Keys abschaffen.
Da bin ich mir so sicher dass ich das einfach mal ungeprüft behaupte!
(ich hab wider Erwarten doch noch die 1.4.15 drauf)
Bei XAMPP ist InnoDB allerdings immer standardmäßig abgeschaltet, vermutlich liegt's nur daran:
- Code: Select all
skip-innodb
# Uncomment the following if you are using InnoDB tables
#innodb_data_home_dir = c:/programme/xampp1.4.15/xampp/mysql/
#innodb_data_file_path = ibdata1:10M:autoextend
#innodb_log_group_home_dir = c:/programme/xampp1.4.15/xampp/mysql/
#innodb_log_arch_dir = c:/programme/xampp1.4.15/xampp/mysql/
# You can set .._buffer_pool_size up to 50 - 80 %
# of RAM but beware of setting memory usage too high
#set-variable = innodb_buffer_pool_size=16M
#set-variable = innodb_additional_mem_pool_size=2M
# Set .._log_file_size to 25 % of buffer pool size
#set-variable = innodb_log_file_size=5M
#set-variable = innodb_log_buffer_size=8M
#innodb_flush_log_at_trx_commit=1
#set-variable = innodb_lock_wait_timeout=50
in der my.cnf (wenn unter Windoof, ZUERST einen Texteditor öffnen und mit diesem dann die Datei, weil Windoof die .cnf-Endung strikt an sich reißt) ändern in:
- Code: Select all
#skip-innodb
# Uncomment the following if you are using InnoDB tables
innodb_data_home_dir = c:/programme/xampp1.4.15/xampp/mysql/
innodb_data_file_path = ibdata1:10M:autoextend
innodb_log_group_home_dir = c:/programme/xampp1.4.15/xampp/mysql/
innodb_log_arch_dir = c:/programme/xampp1.4.15/xampp/mysql/
# You can set .._buffer_pool_size up to 50 - 80 %
# of RAM but beware of setting memory usage too high
set-variable = innodb_buffer_pool_size=16M
set-variable = innodb_additional_mem_pool_size=2M
# Set .._log_file_size to 25 % of buffer pool size
set-variable = innodb_log_file_size=5M
set-variable = innodb_log_buffer_size=8M
#innodb_flush_log_at_trx_commit=1
#set-variable = innodb_lock_wait_timeout=50
...die Pfade natürlich entsprechend anpassen...