MySQL server has gone away for query

MySQL server has gone away for query, MySQL server has gone away for query, Hostripples Web HostingMySQL server has gone away for query

Error :

“WordPress database error MySQL server has gone away for query…..”

Solution :

You need to add the following line in line number 334 in wp-includes/wp-db.php file

$this->query("set session wait_timeout=600");

Done


MySQL server has gone away for query, Hostripples Web Hosting
Vishwajit Kale
Vishwajit Kale blazed onto the digital marketing scene back in 2015 and is the digital marketing strategist of Hostripples, a company that aims to provide affordable web hosting solutions. Vishwajit is experienced in digital and content marketing along with SEO. He's fond of writing technology blogs, traveling and reading.