• I cannot write a new post. I am receiving this error message.

    Any ideas?

    WordPress database error: [Lock wait timeout exceeded; Try restarting transaction]
    INSERT IGNORE INTO wp_posts (post_author, post_date, post_date_gmt, post_content, post_content_filtered, post_title, post_excerpt, post_status, comment_status, ping_status, post_password, post_name, to_ping, pinged, post_modified, post_modified_gmt, post_parent, menu_order, post_mime_type) VALUES (‘1’, ‘2007-02-11 10:03:18’, ‘2007-02-11 14:03:18’, ‘How ridiculous is this? From Alternet.

    These totals are the highest ever recorded by the FBI, and make up 42.6 percent of all drug arrests in the United States. Nevertheless, self-reported pot use by adults, as well as the ready availability of marijuana on the black market, remains virtually unchanged.
    ‘, ”, ‘Pot Prisoners Cost Americans $1 Billion A Year.’, ”, ‘publish’, ‘open’, ‘open’, ”, ‘pot-prisoners-cost-americans-1-billion-a-year’, ”, ”, ‘2007-02-11 10:03:18’, ‘2007-02-11 14:03:18’, ‘0’, ‘0’, ”)

    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 3]
    SELECT category_id FROM wp_post2cat WHERE post_id =

    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 ‘ 2)’ at line 2]
    INSERT INTO wp_post2cat (post_id, category_id) VALUES (, 2)

Viewing 1 replies (of 1 total)
  • WordPress database error: [Lock wait timeout exceeded; Try restarting transaction]

    I’d probably start with contacting the host on something like that. Make sure all is well in database-land.

Viewing 1 replies (of 1 total)
  • The topic ‘Write Post – WordPress database error’ is closed to new replies.