Title: WordPress database error
Last modified: August 18, 2016

---

# WordPress database error

 *  [thedomesticdiva](https://wordpress.org/support/users/thedomesticdiva/)
 * (@thedomesticdiva)
 * [18 years, 8 months ago](https://wordpress.org/support/topic/wordpress-database-errorplease-help/)
 * This is the database error that I am getting on my page…
 * WordPress database error: [File ‘./blog/wp_bdprt_hits.MYD’ not found (Errcode:
   13)]
    SELECT COUNT(*) FROM wp_bdprt_hits WHERE time_of_hit>’1192556424′ AND ip_address
   =’24.241.62.103′
 * WordPress database error: [File ‘./blog/wp_bdprt_hits.MYD’ not found (Errcode:
   13)]
    INSERT INTO wp_bdprt_hits (ref_ident, browser_ident, ip_address, target_ident,
   time_of_hit) VALUES (‘4844’, ‘8422’, ‘24.241.62.103’, ‘3’, ‘1192556427’)
 * Please tell me how to get rid of it!!! I had my favorite theme up and after going
   back and editing a previous post after I hit publish and viewed my site my whole
   page was white with this message. How do I fix it, get rid of it, never see it
   again!
 * I’ve had this happen in the past but no one could help me get rid of it. I am
   very desperate. I have everything riding on this blog and can’t lose it to some
   stupid error message.
 * The wordpress error message was displayed on my theme before it went white but
   since I did not know how to get rid of it I just learned to live with it. Why
   all of a sudden did it cause my site to go blank? I changed the theme so that
   you can see my blog now, but you can still kinda see the code in the corner overlapping
   my graphic. I would prefer to go back to my old theme and eliminate the error
   message all together.
 * Please someone, anyone offer me some advice on how to resolve this issue.
 * BTW…I use wordpress 2.0.2.

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

 *  [moshu](https://wordpress.org/support/users/moshu/)
 * (@moshu)
 * [18 years, 8 months ago](https://wordpress.org/support/topic/wordpress-database-errorplease-help/#post-638410)
 * Contact your host ASAP whenever you get a “numbered” error… like
    (Errcode: 13)
 *  [madsrh](https://wordpress.org/support/users/madsrh/)
 * (@madsrh)
 * [18 years, 8 months ago](https://wordpress.org/support/topic/wordpress-database-errorplease-help/#post-638419)
 * Hi
    I had kind of the same question, because I get a “WordPress database error
   28 from table…”
 * Take a look at the error yourself: [http://www.rosendahl.wep.dk](http://www.rosendahl.wep.dk)
 * Guess it’s the same answer, but also is my data lost or will I be able to get
   my site running again?
 *  [MichaelH](https://wordpress.org/support/users/michaelh/)
 * (@michaelh)
 * [18 years, 8 months ago](https://wordpress.org/support/topic/wordpress-database-errorplease-help/#post-638443)
 * [@madsrh](https://wordpress.org/support/users/madsrh/) – see:
    [http://codex.wordpress.org/FAQ_Troubleshooting#MySQL_Error_28](http://codex.wordpress.org/FAQ_Troubleshooting#MySQL_Error_28)
 *  [madsrh](https://wordpress.org/support/users/madsrh/)
 * (@madsrh)
 * [18 years, 8 months ago](https://wordpress.org/support/topic/wordpress-database-errorplease-help/#post-638447)
 * thanks, I’ll look at it right away!!!
 *  Thread Starter [thedomesticdiva](https://wordpress.org/support/users/thedomesticdiva/)
 * (@thedomesticdiva)
 * [18 years, 8 months ago](https://wordpress.org/support/topic/wordpress-database-errorplease-help/#post-638508)
 * Yahoo is my host and even though they offer to install wordpress they say that
   they can’t offer any sort of support and that I should come over here for answers.
   The only advice yahoo would give me was to erase everything and start over. I
   can’t do that because I have 3 years worth of site info built up. I make money
   off of my site and ppl depend on me to write reviews for them.
 * What should I do? Is there anything that I can do to fix it??
 *  [MichaelH](https://wordpress.org/support/users/michaelh/)
 * (@michaelh)
 * [18 years, 8 months ago](https://wordpress.org/support/topic/wordpress-database-errorplease-help/#post-638521)
 * Guess you could try disabling the plugin that is causing the write to the wp_bdprt_hits.
 * This search, [http://www.google.com/search?q=mysql+Errcode+13](http://www.google.com/search?q=mysql+Errcode+13)
   
   pretty much says this is a permission problem. Since your host is not going to
   help you, I would make sure I have a backup of the MySQL database that houses
   your WordPress tables. Also backup your wordpress file.
 * Then I would acquire another host and restore that backup and files to the new
   host.
 * Resources:
    [WordPress_Backups](http://codex.wordpress.org/WordPress_Backups)
   [Moving WordPress](http://codex.wordpress.org/Moving_WordPress)
 * Since you do have “everything riding on this blog” you might also consider joining
   the wp-pro email list at [http://lists.automattic.com/mailman/listinfo/wp-pro](http://lists.automattic.com/mailman/listinfo/wp-pro)
   and submitting a request for professional assistance to that email list.
 *  Thread Starter [thedomesticdiva](https://wordpress.org/support/users/thedomesticdiva/)
 * (@thedomesticdiva)
 * [18 years, 8 months ago](https://wordpress.org/support/topic/wordpress-database-errorplease-help/#post-638747)
 * I deactivated a lot of plugins that I had stopped using, and somehow that fixed
   the errcode 13. I am not sure what plug in it was. But even though I got the 
   error message to disappear my previous theme [that i love] still doesn’t work
   even after deleting and reinstalling it. I don’t know what else to do to get 
   it to come back. So, I changed my theme to a different one, reluctantly. You 
   can go check out my site to see what it looks like now if you would like…
 * [http://thedomesticdiva.org/blog](http://thedomesticdiva.org/blog)
 * Thank you so much everyone that attempted to help.
 *  [bondageradio](https://wordpress.org/support/users/bondageradio/)
 * (@bondageradio)
 * [18 years, 8 months ago](https://wordpress.org/support/topic/wordpress-database-errorplease-help/#post-638783)
 * > WordPress database error: [File ‘./blog/wp_bdprt_hits.MYD’ not found (Errcode:
   > 13)]
   >  SELECT COUNT(*) FROM wp_bdprt_hits WHERE time_of_hit>’1192556424′ AND
   > ip_address=’24.241.62.103′
   > WordPress database error: [File ‘./blog/wp_bdprt_hits.MYD’ not found (Errcode:
   > 13)]
   >  INSERT INTO wp_bdprt_hits (ref_ident, browser_ident, ip_address, target_ident,
   > time_of_hit) VALUES (‘4844’, ‘8422’, ‘24.241.62.103’, ‘3’, ‘1192556427’)
 * looks to me like there was some sort of stats counter (with a posible embeded
   code in the theme) I recognize “HITS” in the database Name and the IP address
   in the values…
 * The table name might hold a clue to the culprit plugin:
    BDPRT “BadPort” “BDPrint”“
   Bob&Daves-PortRiverTavern”
 * Just a thought… If you look through the template files for the theme you really
   really like, and see a PHP reference to a BDPRT something or other, try commenting
   it out and see if your theme comes back into existance.

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

The topic ‘WordPress database error’ is closed to new replies.

## Tags

 * [database](https://wordpress.org/support/topic-tag/database/)

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 8 replies
 * 5 participants
 * Last reply from: [bondageradio](https://wordpress.org/support/users/bondageradio/)
 * Last activity: [18 years, 8 months ago](https://wordpress.org/support/topic/wordpress-database-errorplease-help/#post-638783)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
