How to stop google cloud sql from corrupting database tables

admin

Administrator
Staff member
Today I noticed my wordpress website one GAE-php has no more posts and the logs claim

<blockquote>
WordPress database error Table './dbname/wp_posts' is marked as crashed and should be repaired
</blockquote>

Some time before that I saw errors in log relating to "duplicate keys", but I can't seem to be able to find exact errors now through log viewer.

<ul>
<li>Why are this errors occurring on Google Cloud SQL,</li>
<li>how can I stop them from happening and,</li>
<li>is there another option to store this data in a way that will not corrupt tables?</li>
</ul>