<?xml version="1.0" encoding="UTF-8"?> <rss
version="2.0"
xmlns:content="http://purl.org/rss/1.0/modules/content/"
xmlns:wfw="http://wellformedweb.org/CommentAPI/"
xmlns:dc="http://purl.org/dc/elements/1.1/"
xmlns:atom="http://www.w3.org/2005/Atom"
xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
> <channel><title>Autarchy of the Private Cave &#187; error</title> <atom:link href="https://bogdan.org.ua/tags/error/feed" rel="self" type="application/rss+xml" /><link>https://bogdan.org.ua</link> <description>Tiny bits of bioinformatics, [web-]programming etc</description> <lastBuildDate>Wed, 28 Dec 2022 16:09:04 +0000</lastBuildDate> <language>en-US</language> <sy:updatePeriod>hourly</sy:updatePeriod> <sy:updateFrequency>1</sy:updateFrequency> <generator>https://wordpress.org/?v=3.8.27</generator> <item><title>How to fix &#8220;MySQL server has gone away&#8221; (error 2006)</title><link>https://bogdan.org.ua/2008/12/25/how-to-fix-mysql-server-has-gone-away-error-2006.html</link> <comments>https://bogdan.org.ua/2008/12/25/how-to-fix-mysql-server-has-gone-away-error-2006.html#comments</comments> <pubDate>Thu, 25 Dec 2008 16:34:08 +0000</pubDate> <dc:creator><![CDATA[Bogdan]]></dc:creator> <category><![CDATA[*nix]]></category> <category><![CDATA[how-to]]></category> <category><![CDATA[Software]]></category> <category><![CDATA[Debian]]></category> <category><![CDATA[error]]></category> <category><![CDATA[fix]]></category> <category><![CDATA[mysql]]></category> <guid
isPermaLink="false">http://bogdan.org.ua/?p=464</guid> <description><![CDATA[Source: George from vbulletin team. Two most common reasons (and fixes) for the MySQL server has gone away (error 2006) are: Server timed out and closed the connection. How to fix: check that wait_timeout variable in your mysqld&#8217;s my.cnf configuration file is large enough. On Debian: sudo nano /etc/mysql/my.cnf, set wait_timeout = 600 seconds (you [&#8230;]]]></description> <content:encoded><![CDATA[<p>Source: <a
href="http://www.vbulletin.com/forum/member.php?u=245" class="broken_link" rel="nofollow">George</a> from <a
href="http://www.vbulletin.com/forum/showthread.php?t=70410" class="broken_link" rel="nofollow">vbulletin team</a>.</p><p>Two most common reasons (and fixes) for the <strong>MySQL server has gone away (error 2006)</strong> are:</p><ol><li>Server timed out and closed the connection. How to fix: check that <strong>wait_timeout</strong> variable in your mysqld&#8217;s my.cnf configuration file is large enough. On Debian: <strong>sudo nano /etc/mysql/my.cnf</strong>, set <strong>wait_timeout = 600</strong> seconds (you can tweak/decrease this value when error 2006 is gone), then <strong>sudo /etc/init.d/mysql restart</strong>. I didn&#8217;t check, but the maximal value for <strong>wait_timeout</strong> might be around 28800 seconds (8 hours).</li><li>Server dropped an incorrect or too large packet. If mysqld gets a packet that is too large or incorrect, it assumes that something has gone wrong with the client and closes the connection. You can increase the maximal packet size limit by increasing the value of <strong>max_allowed_packet</strong> in my.cnf file. On Debian: <strong>sudo nano /etc/mysql/my.cnf</strong>, set <strong>max_allowed_packet = 64M</strong> (you can tweak/decrease this value when error 2006 is gone), then <strong>sudo /etc/init.d/mysql restart</strong>.</li></ol><p>If you get <strong>MySQL server has gone away (error 2006)</strong> when using MySQL ODBC driver &#8211; give <a
href="http://bogdan.org.ua/2008/12/25/how-to-fix-mysql-server-has-gone-away-error-2006.html#comment-103489">this hint</a> a try.</p><p><a
class="a2a_button_citeulike" href="https://www.addtoany.com/add_to/citeulike?linkurl=https%3A%2F%2Fbogdan.org.ua%2F2008%2F12%2F25%2Fhow-to-fix-mysql-server-has-gone-away-error-2006.html&amp;linkname=How%20to%20fix%20%E2%80%9CMySQL%20server%20has%20gone%20away%E2%80%9D%20%28error%202006%29" title="CiteULike" rel="nofollow noopener" target="_blank"></a><a
class="a2a_button_pocket" href="https://www.addtoany.com/add_to/pocket?linkurl=https%3A%2F%2Fbogdan.org.ua%2F2008%2F12%2F25%2Fhow-to-fix-mysql-server-has-gone-away-error-2006.html&amp;linkname=How%20to%20fix%20%E2%80%9CMySQL%20server%20has%20gone%20away%E2%80%9D%20%28error%202006%29" title="Pocket" rel="nofollow noopener" target="_blank"></a><a
class="a2a_button_kindle_it" href="https://www.addtoany.com/add_to/kindle_it?linkurl=https%3A%2F%2Fbogdan.org.ua%2F2008%2F12%2F25%2Fhow-to-fix-mysql-server-has-gone-away-error-2006.html&amp;linkname=How%20to%20fix%20%E2%80%9CMySQL%20server%20has%20gone%20away%E2%80%9D%20%28error%202006%29" title="Kindle It" rel="nofollow noopener" target="_blank"></a><a
class="a2a_button_evernote" href="https://www.addtoany.com/add_to/evernote?linkurl=https%3A%2F%2Fbogdan.org.ua%2F2008%2F12%2F25%2Fhow-to-fix-mysql-server-has-gone-away-error-2006.html&amp;linkname=How%20to%20fix%20%E2%80%9CMySQL%20server%20has%20gone%20away%E2%80%9D%20%28error%202006%29" title="Evernote" rel="nofollow noopener" target="_blank"></a><a
class="a2a_button_pinterest" href="https://www.addtoany.com/add_to/pinterest?linkurl=https%3A%2F%2Fbogdan.org.ua%2F2008%2F12%2F25%2Fhow-to-fix-mysql-server-has-gone-away-error-2006.html&amp;linkname=How%20to%20fix%20%E2%80%9CMySQL%20server%20has%20gone%20away%E2%80%9D%20%28error%202006%29" title="Pinterest" rel="nofollow noopener" target="_blank"></a><a
class="a2a_dd addtoany_share_save addtoany_share" href="https://www.addtoany.com/share#url=https%3A%2F%2Fbogdan.org.ua%2F2008%2F12%2F25%2Fhow-to-fix-mysql-server-has-gone-away-error-2006.html&#038;title=How%20to%20fix%20%E2%80%9CMySQL%20server%20has%20gone%20away%E2%80%9D%20%28error%202006%29" data-a2a-url="https://bogdan.org.ua/2008/12/25/how-to-fix-mysql-server-has-gone-away-error-2006.html" data-a2a-title="How to fix “MySQL server has gone away” (error 2006)"><img
src="https://static.addtoany.com/buttons/share_save_120_16.png" alt="Share"></a></p>]]></content:encoded> <wfw:commentRss>https://bogdan.org.ua/2008/12/25/how-to-fix-mysql-server-has-gone-away-error-2006.html/feed</wfw:commentRss> <slash:comments>54</slash:comments> </item> </channel> </rss>