Title: [Plugin: NextGEN Gallery] MySql server error
Last modified: August 19, 2016

---

# [Plugin: NextGEN Gallery] MySql server error

 *  [cheetahcub](https://wordpress.org/support/users/cheetahcub/)
 * (@cheetahcub)
 * [18 years, 2 months ago](https://wordpress.org/support/topic/plugin-nextgen-gallery-mysql-server-error/)
 * Heya everyone!
 * I’m bummed at this error message that came up just today.
 * The error 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‘
   A’ at line 1]
 * SELECT t.*, tt.* FROM wp_ngg_gallery AS t INNER JOIN wp_ngg_pictures AS tt ON
   t.gid = tt.galleryid WHERE t.gid = ‘2’ AND tt.exclude != 1 ORDER BY tt.A A
 * I do not know what happened to it. Before today, it was perfectly fine. Any ideas?
 * Thanks so much in advance!

Viewing 1 replies (of 1 total)

 *  [Alex Rabe](https://wordpress.org/support/users/alexrabe/)
 * (@alexrabe)
 * [18 years, 2 months ago](https://wordpress.org/support/topic/plugin-nextgen-gallery-mysql-server-error/#post-737154)
 * Please reset the gallery setting to default and check it again…

Viewing 1 replies (of 1 total)

The topic ‘[Plugin: NextGEN Gallery] MySql server 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: [Alex Rabe](https://wordpress.org/support/users/alexrabe/)
 * Last activity: [18 years, 2 months ago](https://wordpress.org/support/topic/plugin-nextgen-gallery-mysql-server-error/#post-737154)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
