Title: WordPress database error, mySQL/syntax.
Last modified: August 18, 2016

---

# WordPress database error, mySQL/syntax.

 *  [mithrun](https://wordpress.org/support/users/mithrun/)
 * (@mithrun)
 * [19 years, 2 months ago](https://wordpress.org/support/topic/wordpress-database-error-mysqlsyntax/)
 * Under ‘Monthly Archives’ I get this error:
 * ‘WordPress database error: [You have an error in your SQL syntax; check the manual
   that corresponds to your MySQL server version for the right syntax to use near”
   at line 1]
    SELECT cat_id, cat_name FROM’
 * Does anyone who how I sort this out?
 * Cheers,
    Mithrun

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

 *  [macwise](https://wordpress.org/support/users/macwise/)
 * (@macwise)
 * [19 years, 2 months ago](https://wordpress.org/support/topic/wordpress-database-error-mysqlsyntax/#post-536131)
 * is that the full line? Can you find that line and copy/paste the full line here?
 *  [vkaryl](https://wordpress.org/support/users/vkaryl/)
 * (@vkaryl)
 * [19 years, 2 months ago](https://wordpress.org/support/topic/wordpress-database-error-mysqlsyntax/#post-536132)
 * A LOT more info please:
 * What kind of server: local (which flavor – mac, linux, windows, if windows is
   it xampp or native); hosted windows; hosted linux/unix
 * Which version of wp: and – fresh install, or upgrade
 * Have you disabled plugins? Is it still doing the same thing if you have disabled
   plugins?
 *  Thread Starter [mithrun](https://wordpress.org/support/users/mithrun/)
 * (@mithrun)
 * [19 years, 2 months ago](https://wordpress.org/support/topic/wordpress-database-error-mysqlsyntax/#post-536133)
 * I am very new to WP and have only just installed it (Fresh Install), I don’t 
   think I have disabled plugins… oh yea click [http://www.getoutoftheclassroom.co.uk](http://www.getoutoftheclassroom.co.uk)
   here to see the error…
 *  [knightrojen](https://wordpress.org/support/users/knightrojen/)
 * (@knightrojen)
 * [19 years, 2 months ago](https://wordpress.org/support/topic/wordpress-database-error-mysqlsyntax/#post-536571)
 * I noticed it seems fixed on your site – did you figure it out? I’m having the
   same issue.

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

The topic ‘WordPress database error, mySQL/syntax.’ is closed to new replies.

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 4 replies
 * 4 participants
 * Last reply from: [knightrojen](https://wordpress.org/support/users/knightrojen/)
 * Last activity: [19 years, 2 months ago](https://wordpress.org/support/topic/wordpress-database-error-mysqlsyntax/#post-536571)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
