<?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>net_buffer_length &#8211; Database Research &amp; Development</title>
	<atom:link href="https://www.dbrnd.com/tag/net_buffer_length/feed/" rel="self" type="application/rss+xml" />
	<link>https://www.dbrnd.com</link>
	<description>BIGData &#124; NoSQL &#124; MSSQL &#124; MySQL &#124; PostgreSQL</description>
	<lastBuildDate>Wed, 04 Oct 2017 06:46:56 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=7.0.4</generator>
	<item>
		<title>MySQL: Error 1153 &#8211; Got a packet bigger than &#8216;max_allowed_packet&#8217; bytes</title>
		<link>https://www.dbrnd.com/2016/02/mysql-error-1153-got-a-packet-bigger-than-max_allowed_packet-bytes/</link>
					<comments>https://www.dbrnd.com/2016/02/mysql-error-1153-got-a-packet-bigger-than-max_allowed_packet-bytes/#comments</comments>
		
		<dc:creator><![CDATA[Anvesh Patel]]></dc:creator>
		<pubDate>Wed, 24 Feb 2016 18:29:25 +0000</pubDate>
				<category><![CDATA[MySQL]]></category>
		<category><![CDATA[Anvesh Patel]]></category>
		<category><![CDATA[database]]></category>
		<category><![CDATA[database research and development]]></category>
		<category><![CDATA[dbrnd]]></category>
		<category><![CDATA[max_allowed_packet]]></category>
		<category><![CDATA[MySQL Command]]></category>
		<category><![CDATA[MySQL Database Administrator]]></category>
		<category><![CDATA[MySQL Database Designing]]></category>
		<category><![CDATA[MySQL Database Programming]]></category>
		<category><![CDATA[MySQL Error]]></category>
		<category><![CDATA[MySQL Performance Tunning]]></category>
		<category><![CDATA[MySQL Query]]></category>
		<category><![CDATA[MySQL Tips and Tricks]]></category>
		<category><![CDATA[net_buffer_length]]></category>
		<guid isPermaLink="false">https://www.dbrnd.com/?p=1766</guid>

					<description><![CDATA[Error 1153 &#8211; Got a packet bigger than &#8216;max_allowed_packet&#8217; bytes. The solution of this error is to change the value of max_allowed_packet&#8217;. Generally, max_allowed_packet is initialized to net_buffer_length bytes, and when we are dealing with large BLOB columns or any long strings like a big database dump or restore, we should also increase the size [&#8230;]]]></description>
										<content:encoded><![CDATA[<p><a class="a2a_button_facebook" href="https://www.addtoany.com/add_to/facebook?linkurl=https%3A%2F%2Fwww.dbrnd.com%2F2016%2F02%2Fmysql-error-1153-got-a-packet-bigger-than-max_allowed_packet-bytes%2F&amp;linkname=MySQL%3A%20Error%201153%20%E2%80%93%20Got%20a%20packet%20bigger%20than%20%E2%80%98max_allowed_packet%E2%80%99%20bytes" title="Facebook" rel="nofollow noopener" target="_blank"></a><a class="a2a_button_twitter" href="https://www.addtoany.com/add_to/twitter?linkurl=https%3A%2F%2Fwww.dbrnd.com%2F2016%2F02%2Fmysql-error-1153-got-a-packet-bigger-than-max_allowed_packet-bytes%2F&amp;linkname=MySQL%3A%20Error%201153%20%E2%80%93%20Got%20a%20packet%20bigger%20than%20%E2%80%98max_allowed_packet%E2%80%99%20bytes" title="Twitter" rel="nofollow noopener" target="_blank"></a><a class="a2a_button_linkedin" href="https://www.addtoany.com/add_to/linkedin?linkurl=https%3A%2F%2Fwww.dbrnd.com%2F2016%2F02%2Fmysql-error-1153-got-a-packet-bigger-than-max_allowed_packet-bytes%2F&amp;linkname=MySQL%3A%20Error%201153%20%E2%80%93%20Got%20a%20packet%20bigger%20than%20%E2%80%98max_allowed_packet%E2%80%99%20bytes" title="LinkedIn" rel="nofollow noopener" target="_blank"></a><a class="a2a_button_pinterest" href="https://www.addtoany.com/add_to/pinterest?linkurl=https%3A%2F%2Fwww.dbrnd.com%2F2016%2F02%2Fmysql-error-1153-got-a-packet-bigger-than-max_allowed_packet-bytes%2F&amp;linkname=MySQL%3A%20Error%201153%20%E2%80%93%20Got%20a%20packet%20bigger%20than%20%E2%80%98max_allowed_packet%E2%80%99%20bytes" title="Pinterest" rel="nofollow noopener" target="_blank"></a><a class="a2a_button_reddit" href="https://www.addtoany.com/add_to/reddit?linkurl=https%3A%2F%2Fwww.dbrnd.com%2F2016%2F02%2Fmysql-error-1153-got-a-packet-bigger-than-max_allowed_packet-bytes%2F&amp;linkname=MySQL%3A%20Error%201153%20%E2%80%93%20Got%20a%20packet%20bigger%20than%20%E2%80%98max_allowed_packet%E2%80%99%20bytes" title="Reddit" rel="nofollow noopener" target="_blank"></a><a class="a2a_button_pocket" href="https://www.addtoany.com/add_to/pocket?linkurl=https%3A%2F%2Fwww.dbrnd.com%2F2016%2F02%2Fmysql-error-1153-got-a-packet-bigger-than-max_allowed_packet-bytes%2F&amp;linkname=MySQL%3A%20Error%201153%20%E2%80%93%20Got%20a%20packet%20bigger%20than%20%E2%80%98max_allowed_packet%E2%80%99%20bytes" title="Pocket" 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%2Fwww.dbrnd.com%2F2016%2F02%2Fmysql-error-1153-got-a-packet-bigger-than-max_allowed_packet-bytes%2F&#038;title=MySQL%3A%20Error%201153%20%E2%80%93%20Got%20a%20packet%20bigger%20than%20%E2%80%98max_allowed_packet%E2%80%99%20bytes" data-a2a-url="https://www.dbrnd.com/2016/02/mysql-error-1153-got-a-packet-bigger-than-max_allowed_packet-bytes/" data-a2a-title="MySQL: Error 1153 – Got a packet bigger than ‘max_allowed_packet’ bytes"></a></p><p><strong>Error 1153 &#8211; Got a packet bigger than &#8216;max_allowed_packet&#8217; bytes. The solution of this error is to change the value of max_allowed_packet&#8217;.</strong></p>
<blockquote><p>Generally, max_allowed_packet is initialized to net_buffer_length bytes, and when we are dealing with large BLOB columns or any long strings like a big database dump or restore, we should also increase the size of max_allowed_packet. </p></blockquote>
<p>The default value is minimal, and it requires to change for large packets.<br />
When we are changing the value of max_allowed_packet, we should also modify the buffer size on the client side. </p>
<p><strong>Method 1: Under the mysqld section, add or change the value in my.cnf file:<br />
</strong></p>
<pre class="crayon-plain-tag">[mysqld]

max_allowed_packet=128M</pre> </p>
<p><strong>Method 2: Directly run these commands in the MySQL console:</strong></p>
<pre class="crayon-plain-tag">set global net_buffer_length=1000000; 
set global max_allowed_packet=1000000000;</pre> </p>
]]></content:encoded>
					
					<wfw:commentRss>https://www.dbrnd.com/2016/02/mysql-error-1153-got-a-packet-bigger-than-max_allowed_packet-bytes/feed/</wfw:commentRss>
			<slash:comments>1</slash:comments>
		
		
			</item>
	</channel>
</rss>
