• I got this error when I try to connect to my wp dashboard.
    It not affect the website navigation.
    Im a newbie and know nothing about wp database. How can I fix this issue?
    Thank you all.


    WordPress database error: [Lost connection to MySQL server during query]
    SELECT cm_posts.* FROM cm_posts INNER JOIN cm_postmeta ON ( cm_posts.ID = cm_postmeta.post_id ) WHERE 1=1 AND ( ( cm_postmeta.meta_key = ‘_visibility’ AND CAST(cm_postmeta.meta_value AS CHAR) IN (‘catalog’,’visible’) ) ) AND cm_posts.post_type IN (‘product’, ‘product_variation’) AND ((cm_posts.post_status = ‘publish’)) GROUP BY cm_posts.ID ORDER BY cm_posts.post_date DESC

    Error reconnecting to the database

    This means that we lost contact with the database server at localhost. This could mean your host’s database server is down.

    Are you sure that the database server is running?
    Are you sure that the database server is not under particularly heavy load?

    If you’re unsure what these terms mean you should probably contact your host. If you still need help you can always visit the WordPress Support Forums.”

Viewing 1 replies (of 1 total)
  • This is what’s happened on your server:

    Lost connection to MySQL server during query

    What that means is that your MySQL server was over-loaded and has either crashed or just terminated the connection.

    This happens when:

    Are you sure that the database server is running?
    Are you sure that the database server is not under particularly heavy load?

    The answer is:

    If you’re unsure what these terms mean you should probably contact your host.

    Unfortunately we can’t do much for this, apart form recommend that you look at the server logs, MySQL logs, and if it’s possible the MySQL slow query log. There’s a very good chance that you won’t hav eaccess to one or more of these, and that’s where you’ll need your hosting company to find them, and tell you what exactly went wrong.

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