Title: Database error: [Got error 12 from table handler]
Last modified: August 18, 2016

---

# Database error: [Got error 12 from table handler]

 *  [toplars](https://wordpress.org/support/users/toplars/)
 * (@toplars)
 * [21 years, 7 months ago](https://wordpress.org/support/topic/database-error-got-error-12-from-table-handler/)
 * Got the following error when installing wordpress
    on both linux and unix machines.
   php – 4.3.3; mysql – 4.0.15a, for hp-hpux11.11 Database error: [Got error 12 
   from table handler] UPDATE wp_options SET option_type = ‘5’ WHERE option_name
   = ‘advanced_edit’ Database error: [Got error 12 from table handler] DELETE FROM
   wp_options WHERE option_name = ‘smilies_directory’ Database error: [Got error
   12 from table handler] DELETE FROM wp_options WHERE option_name = ‘use_phoneemail’

Viewing 5 replies - 1 through 5 (of 5 total)

 *  [NuclearMoose](https://wordpress.org/support/users/nuclearmoose/)
 * (@nuclearmoose)
 * [21 years, 7 months ago](https://wordpress.org/support/topic/database-error-got-error-12-from-table-handler/#post-103593)
 * My Google search on this error seems to indicate a memory issue, in that your
   memory was exhausted trying to run the query. Are you running all of this on 
   a local box with bare-minimum resources by any chance?
 *  Thread Starter [toplars](https://wordpress.org/support/users/toplars/)
 * (@toplars)
 * [21 years, 7 months ago](https://wordpress.org/support/topic/database-error-got-error-12-from-table-handler/#post-103638)
 * No this is run on a large server for an educational institution. I don’t think
   the issue is one of resources.
    The probelm only arises at step 3 of the installation.
   WordPress is comunicating with the database. Any other suggestions? I’m a little
   lost here..
 *  Thread Starter [toplars](https://wordpress.org/support/users/toplars/)
 * (@toplars)
 * [21 years, 7 months ago](https://wordpress.org/support/topic/database-error-got-error-12-from-table-handler/#post-104111)
 * Hi Again
    After some back and forth we got the system up and running. It turns
   out that even though the server is not one of minimal resources, there had been
   occtional problems with memory and the database. NuclearMoose was right in suggesting
   a memory issue. NOTE, as written, above that it can also occur on systems of 
   relatively powerful dimensions.
 *  [jeremycherfas](https://wordpress.org/support/users/jeremycherfas/)
 * (@jeremycherfas)
 * [21 years, 2 months ago](https://wordpress.org/support/topic/database-error-got-error-12-from-table-handler/#post-104249)
 * I’m getting the same number error after upgrading from 1.2 to 1.5
 * `WordPress database error: [Got error 12 from table handler]
    SELECT DISTINCT
   YEAR(post_date) AS 
   year, MONTH(post_date) AS month, count(ID) as posts FROM 
   wp_posts WHERE post_date < '2005-04-08 08:55:59' AND post_status = 'publish' 
   GROUP BY YEAR(post_date), MONTH(post_date) ORDER BY post_date DESC
 * It appears at the top of the page and immediately after the archives.
 * Can anyone help?
 * Jeremy
 *  [jeremycherfas](https://wordpress.org/support/users/jeremycherfas/)
 * (@jeremycherfas)
 * [21 years, 2 months ago](https://wordpress.org/support/topic/database-error-got-error-12-from-table-handler/#post-104250)
 * Apologies
 * This seems to have been a server error, just a coincidence that it happened as
   I upgraded.
 * All OK now (I think).
 * Jeremy

Viewing 5 replies - 1 through 5 (of 5 total)

The topic ‘Database error: [Got error 12 from table handler]’ is closed to new replies.

 * In: [Installing WordPress](https://wordpress.org/support/forum/installation/)
 * 5 replies
 * 3 participants
 * Last reply from: [jeremycherfas](https://wordpress.org/support/users/jeremycherfas/)
 * Last activity: [21 years, 2 months ago](https://wordpress.org/support/topic/database-error-got-error-12-from-table-handler/#post-104250)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
