473,386 Members | 1,720 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,386 software developers and data experts.

max_allowed_packet increase not working

3
I am trying to migrate a database that is 145mb at errors at 87 tables inserted with this message:

ERROR 1153 at line 1378802: Got a packet bigger than 'max_allowed_packet'


So to my understanding I need to increase the max_allowed_packet. I have mysql v4.23 and to my understand the MAP is 1gb but i also understand that there is another MAP which is the servers? Do i need to increase that? I have searched desperately even spoken to unix shell support to no avail.

This is what I have done and it still results in the above message. Log into my msql:

mysq> mysql --max_allowed_packet=200m (hit enter)
->

Thats it still nothing no error message or confirmation just the arrow, please assist. Thanks
Mar 1 '07 #1
3 3502
qwik3r
3
I was doing the syntax wrong:

mysql> SET MAX_ALLOWED_PACKET = 104857600;

You need to specifiy bytes

However if i set it then view it like this


mysql> show variables like 'max_a%';

it shows that it changed but when i log out of mysql and try to transfer the database it hasn't changed, it resets, how to you actually completely SET it?
Mar 1 '07 #2
qwik3r
3
issue resolved for future reference you must set it from the shell not the mysql prompt
Mar 1 '07 #3
ronverdonk
4,258 Expert 4TB
Welcome to The Scripts!

And thanks very much for this information. I am sure it will help other members with packet size problems.

Ronald :cool:
Mar 2 '07 #4

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

Similar topics

1
by: S. van Beek | last post by:
Dear reader, How to increase the response in case of working with linked tables, program in frond end mdb and tables in back end mdb. For possible combinations and their response...
4
by: =?Utf-8?B?R2F1cmF2?= | last post by:
Hello... I posted this a couple of weeks back, but could't get a reply, so trying again! I use the Setup project in C# to create a .msi file to be distributed to the clients. The size of...
4
by: Geethu03 | last post by:
Hi My Question is how can i store the database from one System to another System? I have a database with large no of data's.I want to store these data to another system with all data. I...
1
by: AliRezaGoogle | last post by:
Dear members I am working with a 2000 GH P4 Intel, and 512GB RAM. I have a long list matrix 3000 * 15,000 of type double. I have a calculation procedure which can be executed on any single...
1
pradeepjain
by: pradeepjain | last post by:
hai guys i am facing a small problem... i am trying to upload a file of size 4mb .....but i am getting this error "Got a packet bigger than 'max_allowed_packet' bytes" how to solve this ...
6
by: CDFTim | last post by:
I'm back with another question about a rotating Marquee. I have a marquee that rotates information through a window on my web page. With your help here I have figured out a bunch and have it...
0
ddtpmyra
by: ddtpmyra | last post by:
Is there a way where you can update or set the max_allowed_packet inside myslq browser? I tried to change the my.cnf file but still does not take any effect on my database. Please help, MD
2
by: zensunni | last post by:
Okay... I got this error, so I thought, fine, I'll change the max_allowed_packet variable. So, I went to the documentation, and found this...
8
by: Guy Macon | last post by:
How to increase web server uptime with DNS failover: For illustration, let's start with some really bad hosting... Find four free web hosts that are each 90% reliable -- in other words they...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
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...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
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
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
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...

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.