MySQL on a laptop for remote workers - MyISAM keeps corrupting
Posted
by
Jonathon
on Server Fault
See other posts from Server Fault
or by Jonathon
Published on 2010-07-15T20:58:12Z
Indexed on
2011/01/17
13:54 UTC
Read the original article
Hit count: 319
We have an application that is used by remote, mobile workers. It intalls WAMP (Server2Go) on a laptop and uses MySQL to store data locally. All tables are MyISAM. Once a day, the workers sync the database to our central server via HTTP scripts that query the data and post it to our site.
The problem is that many of these laptop database tables are corrupting continually. It appears that MySQL acts like it saves the information (I don't get any query errors), but the table gets corrupt. I have to repair the table constantly (which removes several rows of data in the process).
Does anyone have any ideas about how to work around this problem? Would it be wise to switch to InnoDB on the laptops? How about a different database system altogether. I have looked at MySQL Embedded, but it appears to be the same engine as the regular MySQL.
© Server Fault or respective owner