Title: SQL syntax error
Last modified: August 20, 2016

---

# SQL syntax error

 *  [NaeTec](https://wordpress.org/support/users/naetec/)
 * (@naetec)
 * [14 years, 11 months ago](https://wordpress.org/support/topic/sql-syntax-error-4/)
 * Will someone help me with this…
 * 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 `theme_template`,`redirect` FROM `cve_md_mobilemeta` WHERE `
   mobile_id`=
 * How can I fix it?

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

 *  [s_ha_dum](https://wordpress.org/support/users/apljdi/)
 * (@apljdi)
 * [14 years, 11 months ago](https://wordpress.org/support/topic/sql-syntax-error-4/#post-2144878)
 * Something is wrong with a plugin. I can’t tell exactly what but it looks like
   its missing the mobile_id value so the query is cut short. I’m guessing you have
   a plugin that generates mobile-device friendly pages? Disable that and the problem
   should go away. Actually fixing it will be more work.
 *  [Michael Bishop](https://wordpress.org/support/users/miklb/)
 * (@miklb)
 * [14 years, 11 months ago](https://wordpress.org/support/topic/sql-syntax-error-4/#post-2144880)
 * More specifically, what plugin are you using for the mobile?
 *  Thread Starter [NaeTec](https://wordpress.org/support/users/naetec/)
 * (@naetec)
 * [14 years, 11 months ago](https://wordpress.org/support/topic/sql-syntax-error-4/#post-2144960)
 * I don’t recall the name of the plugin and I can’t get anywhere to check. The 
   admin pages, at least, only shows the error message. Is there a backdoor to delete
   a plugin?
 *  [s_ha_dum](https://wordpress.org/support/users/apljdi/)
 * (@apljdi)
 * [14 years, 11 months ago](https://wordpress.org/support/topic/sql-syntax-error-4/#post-2144961)
 * > Is there a backdoor to delete a plugin?
 * Yes. FTP. Login to your hosting account using an FTP client (like FileZilla) 
   and delete the plugin’s folder from wp-content/plugins/.

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

The topic ‘SQL syntax error’ is closed to new replies.

## Tags

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

 * In: [Installing WordPress](https://wordpress.org/support/forum/installation/)
 * 4 replies
 * 3 participants
 * Last reply from: [s_ha_dum](https://wordpress.org/support/users/apljdi/)
 * Last activity: [14 years, 11 months ago](https://wordpress.org/support/topic/sql-syntax-error-4/#post-2144961)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
