Title: Syntax error
Last modified: August 18, 2016

---

# Syntax error

 *  [john74](https://wordpress.org/support/users/john74/)
 * (@john74)
 * [19 years, 12 months ago](https://wordpress.org/support/topic/syntax-error/)
 * I am trying to post to my bolog but get the following 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 2]
    INSERT INTO wp_post2cat (post_id, category_id) VALUES (6,
 * Any advice?

Viewing 1 replies (of 1 total)

 *  [google_earth](https://wordpress.org/support/users/google_earth/)
 * (@google_earth)
 * [19 years, 12 months ago](https://wordpress.org/support/topic/syntax-error/#post-400395)
 * That doesn’t look like a complete sql statement and it is truncated.
 * Is this a new install or an existing site on which the error has just happened?

Viewing 1 replies (of 1 total)

The topic ‘Syntax error’ is closed to new replies.

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 1 reply
 * 2 participants
 * Last reply from: [google_earth](https://wordpress.org/support/users/google_earth/)
 * Last activity: [19 years, 12 months ago](https://wordpress.org/support/topic/syntax-error/#post-400395)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
