-1

I had an issue with Magento and ran a script that dropped my DB and then recreated the tables and data from a backup. However, when it did this, all the tables were created with the MyISAM Engine. Many of them are required to be InnoDB. So...I read this: How to convert all tables from MyISAM into InnoDB?

But, when I try it give me this:

Your query produced 1 warnings.
Warning: Using storage engine MyISAM for table 'magadmin_assert'

And when I attempt to do it using HeidiSQL's interface, I can't select it from the Engine dropdown:

enter image description here

Any ideas on how to fix this?

Community
  • 1
  • 1
MB34
  • 4,210
  • 12
  • 59
  • 110
  • run this **show engines;** and see what the output, are outputs contains innodb? – Gouda Elalfy Jan 21 '16 at 16:16
  • says InnoDB is disabled. How do I enable it? What vould have disabled it? I ran a `SET GLOBAL innodb-fast_shutdown=0` earlier – MB34 Jan 21 '16 at 16:22
  • When I run `SHOW ENGINE INNODB STATUS`, I get this: `ERROR 1235 (42000): Cannot call SHOW INNODB STATUS because skip-innodb is defined` – MB34 Jan 21 '16 at 16:34
  • There is NO `skip-innodb` in my my.cnf – MB34 Jan 21 '16 at 16:36

1 Answers1

0

you can enable innoDB engine in my.ini in your mysql installation directory then restart your mysql, follow steps in this LINK

I use xammp on windows and my.ini is:

# Comment the following if you are using InnoDB tables
#skip-innodb
innodb_data_home_dir = "/xampp/mysql/data"
innodb_data_file_path = ibdata1:10M:autoextend
innodb_log_group_home_dir = "/xampp/mysql/data"
#innodb_log_arch_dir = "/xampp/mysql/data"
## You can set .._buffer_pool_size up to 50 - 80 %
## of RAM but beware of setting memory usage too high
innodb_buffer_pool_size = 16M
innodb_additional_mem_pool_size = 2M
## Set .._log_file_size to 25 % of buffer pool size
innodb_log_file_size = 5M
innodb_log_buffer_size = 8M
innodb_flush_log_at_trx_commit = 1
innodb_lock_wait_timeout = 50
Gouda Elalfy
  • 6,888
  • 1
  • 26
  • 38