PDA

View Full Version : Question about importing attachments with ImpEx



organik81
Tue 11th Oct '05, 8:33pm
While importing attachments with ImpEx I get this error;

mysql error: Got a packet bigger than 'max_allowed_packet' bytes
mysql error number: 1153

how can I set 'max_allowed_packet' ?? (in my.cnf or a different file - server is linux)

organik81
Tue 11th Oct '05, 9:15pm
one last question;

how can I set my.cnf or php.ini with using Putty ? I don't know how to use these shell commands comletely.. Can any one give me a little example.. (for example editing a variable ('max_allowed_packet' ) in my.cnf ..)

Steve Machol
Tue 11th Oct '05, 10:52pm
Edit my.cnf (or my.ini for Windows systems)

set-variable=max_allowed_packet=16M

You have to have root access to the server to do this.

organik81
Tue 11th Oct '05, 11:14pm
Thanx Steve; yes I now that I have to set it.. Also I have root access to the server; with Putty.. But my problem is; I don't know how can I do this? I don't know the shell command for this action... (I know this is not about vBulletin but I couldn't find shell commands)...

Steve Machol
Tue 11th Oct '05, 11:15pm
You can use any text editor to edit that file.

organik81
Wed 12th Oct '05, 1:40pm
Thank you very much Steve... I've done it... ;)