Support » How-To and Troubleshooting » MySQL Query Error

MySQL Query Error

  • When running WordPress, I 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 1]
    SELECT DISTINCT(post_id) FROM wp_post2cat WHERE category_id=

    Any help would be appreciated!

Viewing 1 replies (of 1 total)
  • What have you done? WordPress, by itself, ought never cause this error to be generated.

    Was WordPress working for you before at some point? What did you do between when it worked and when this error first appeared?

Viewing 1 replies (of 1 total)
  • The topic ‘MySQL Query Error’ is closed to new replies.