Los Connections to Database – tdb_templates wordpress / MySQL Error

Posted in: Newspaper
Post count: 12

Hi there, I am getting a Lost Connection to the database for my website that I believe is responsible for my website going down intermittently for up to 10 to 20 minutes per instance.

I am running Newspaper 11.5.1 on WP version 6.0 and the error is appearing in my error log in my main root level.

Here is the error:

09-Aug-2022 06:40:16 UTC] WordPress database error Lost connection to MySQL server during query for query SELECT post_modified_gmt FROM wp_posts WHERE post_status = ‘publish’ AND post_type IN (‘post’, ‘page’, ‘attachment’, ‘tdb_templates’, ‘snp_popups’, ‘snp_ab’, ‘snp_mail_log’) ORDER BY post_modified_gmt DESC LIMIT 1 made by require(‘wp-blog-header.php’), wp, WP->main, WP->send_headers, get_lastpostmodified, _get_last_post_time

The error reoccurs multiple times and eventually stops and the website goes back online.

If you could provide any insight on this error it would be most appreciated.

Cheers

Brent

Post count: 21065

Hello Brent!

I’m sorry to hear that, but this issue is not related to the theme.

A similar issue has been discussed here: https://theme.co/forum/t/wordpress-database-error-lost-connection-to-mysql-server-site-motojk-com/54057

I can provide you with a link which I hope can help you solve your issue: https://www.wpbeginner.com/wp-tutorials/how-to-fix-the-error-establishing-a-database-connection-in-wordpress/

Thank you!

Post count: 12

Still having the problem but following through with your suggested links.

Thanks!

Post count: 27744

Hi,

Please let us know if you could solve the problem.

Thank you!

Viewing 4 posts - 1 through 4 (of 4 total)
The forum ‘Newspaper’ is closed to new topics and replies.