0

I recently upgraded MySQL server on CentOS 5 with MySQL 5.0.96 After upgrade when i am trying to import old database dump which has got both MyISAM and INNODB tables in a single database, MySQL is converting all MyISAM table to INNODB.

Am not sure why this is happening. But i certainly dont want this to happen.

Any clue why this could be happening?

John Gardeniers
  • 27,458
  • 12
  • 55
  • 109

2 Answers2

0

If your dumps don't specify which engine to use for each table then the system default will be used. I suspect your system default is InnoDB.

John Gardeniers
  • 27,458
  • 12
  • 55
  • 109
  • mysqldump --opt -K --triggers -c -n -R is the command i use to create mysql dump. This does not include any options to define database table type. – user1627036 Aug 27 '12 at 10:41
0

Ok..well i could resolve this issue by deleting the file ib_logfile1 in /var/log/mysql and restarting mysql service.

I guess this was from the older version and was causing a problem to start the innodb engine.