473,395 Members | 1,404 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,395 software developers and data experts.

Problem with "packet bigger than 'max_allowed_packet' error"

Hi
I am running an update to a database and I keep getting this error:


Could not Insert to CB_MAIN (update)Got a packet bigger than 'max_allowed_packet' bytes
And it is from this code:
Expand|Select|Wrap|Line Numbers
  1. $result_upd = mysql_query($sql_upd) or write_error("Could not Insert to CB_MAIN (update)".mysql_error()." \r\n");
  2.  
The write_error() function writes to a log and on line no. 79,870 I get that error.

Searched and read this:

Quote:
You probably have to change it for both the client (you are running to do the import) AND the daemon mysqld that is running and accepting the import.
But didn't understand it.

My system is as follows:

Operating system CentOS Linux 6.0
Perl version 5.010001
Path to Perl /usr/bin/perl
BIND version 9.7.0
Postfix version 2.6.6
Apache version 2.2.15
PHP version 5.3.2
Webalizer version 2.21-02
Logrotate version 3.7.8
MySQL version 5.1.52

Would much appreciate it if some would help me by telling me what config files need to be changed and where they might be.

Thanks.
Dec 25 '11 #1
1 2070
Atli
5,058 Expert 4TB
Hi.

Read the manual page on this issue. It explains what's going on and what you need to change.

C.5.2.10. Packet too large.
Dec 29 '11 #2

Sign in to post your reply or Sign up for a free account.

Similar topics

2
by: John Baker | last post by:
Hi: I have an Access application that has been running on my desktop system just fine. I recently tried to move it to my laptop, and on the laptop I get a "Disc or Network Error" message when I...
14
by: David W. Fenton | last post by:
I'm no stranger to this error message, but I have a client who is experiencing it, but, fortunately, without any actual data corruption, and it's driving them made. Their inability to grasp that...
0
by: Alex L | last post by:
Hi To All! I just started to develop my applications in .Net. And I have a problem with undo option in the Visual Studio .Net: I can't to undo any text (code) (Ctrl+Z doesn't work!) And if I try...
1
by: PS | last post by:
Hi I have project in old C++ (not .NET). I have prepared .dll in C++.NET for this old project. Project compile without any errors but after execution I got error "Fatal execution engine error"....
1
by: Tom | last post by:
I can't debug my asp.net projects. for some reason i'm getting an error saying that i don't have permission and i should be added to the debuggers group. I added my domain user, my aspnet user and...
5
by: Robin Tucker | last post by:
Ok now my intellisense has gone t's-up again - I also cannot use undo/redo in the editor. I deleted the NCB file in case that was corrupt but no poonanas, its still fubar (how many explitives can...
2
by: Sosa | last post by:
Greetings, I have XP Pro and installed IIS 5.1. I tried to create a web service through VS.Net 2003 Pro. When I click the Open button, I get the above subject line error message. I've looked...
2
by: Hardy Wang | last post by:
Hi, I have a console application to export crystal reports result to PDF. For one of my report file, when i call Export() function from my code, I get "unknown query engine error". I have Crystal...
2
by: Andy Chen | last post by:
Hi, When I am using the fowllowing code to open page http://spaces.msn.com/members/mailcall/ .... try{ string url = http://spaces.msn.com/members/mailcall/; HttpWebRequest httpReq = null;...
2
by: Jolie Chen | last post by:
I am learning template programming now, and I wrote the following code #include <iostream> #include "Queue.h" using namespace std; template <typename Tclass QueueItem { public: QueueItem(T...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.