Title: Database error since upgrade
Last modified: August 18, 2016

---

# Database error since upgrade

 *  [teachin9](https://wordpress.org/support/users/teachin9/)
 * (@teachin9)
 * [19 years, 2 months ago](https://wordpress.org/support/topic/database-error-since-upgrade/)
 * Since upgrading to 2.1 I get an error message that says
 * “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‘
   GROUP BY year(post_date), month(post_date), dayofmonth(post_date)’ at line 1]
   
   SELECT DISTINCT post_date FROM GROUP BY year(post_date), month(post_date), dayofmonth(
   post_date)”
 * Don’t know where the date is specified or how to fix…
    thanks for any help!

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

 *  [drmike](https://wordpress.org/support/users/drmike/)
 * (@drmike)
 * [19 years, 2 months ago](https://wordpress.org/support/topic/database-error-since-upgrade/#post-542422)
 * Where within your site is that error occuring? How are you getting that error?
 *  Thread Starter [teachin9](https://wordpress.org/support/users/teachin9/)
 * (@teachin9)
 * [19 years, 2 months ago](https://wordpress.org/support/topic/database-error-since-upgrade/#post-542436)
 * It comes up when I launch the site and the error message says there’s sql error
   line 1. Did the post_date tag change?

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

The topic ‘Database error since upgrade’ is closed to new replies.

## Tags

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

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

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
