I am using 1.5.6.c
I recently had issues with database that caused spoiradic outages and errors.
When i used Check Databasein server cpanal I got the following errors/display:
[ltimatep_156c.address_book] OK
[address_format] 2 clients are using or haven't closed the table properly
[admin] OK
[admin_activity_log] 2 clients are using or haven't closed the table properly
[admin_menus] 37 clients are using or haven't closed the table properly
etc.......................
The above is not actual because as soon as I closed the check database page and went back., all table were OK without me having done a repair or other function.
Anyway after googling the "2 clients are using or haven't closed the table properly" error i found a possible cause and solution.: https://dba.stackexchange.com/questi...-get-corrupted
MyISAM indexes tend to get corrupted when the server crashes (eg, power failure) or is otherwise rudely terminated (kill -9). You did the 'right' thing by running CHECK and REPAIR.
The datafile size is a bit worrisome; that is worse than the usual (just index issue). The crash may have happened between "writing" and "flushing", since MyISAM is not careful about syncing.
Changing to InnoDB is the 'right' thing to do. For each of your tables, do
ALTER TABLE table_name ENGINE=InnoDB;
Caution: The disk footprint for your tables will double or triple; check that you have enough disk space.
InnoDB automatically recovers after power failure and virtually any other crash.
I also found some mysql query that would convert the MYISAM Db to InnoDB format [will check farther to make sure query is up to date] :
ALTER TABLE my_table ENGINE = InnoDB;
MY QUESTION IS: WILL ZENCART WORKWITH INNODB DATABASE AND IF SO. WHAT CHANGES IF ANY NEED TO BE MADE????
Bookmarks