Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

trying to restore pressflow database and getting this error, I even tried it with --max_allowed_packet, still getting same error:

[root@6shdbm01 tmp]# mysql --max_allowed_packet=1024M pressflow < pressflow.sql 
ERROR 1153 (08S01) at line 786: Got a packet bigger than 'max_allowed_packet' bytes
[root@6shdbm01 tmp]# 
share|improve this question

1 Answer 1

up vote 0 down vote accepted

The max_allowed_packet variable must be set on both the client and the server. If the server's value is lower than the client's value, this error occurs.

You will need to set max_allowed_packet in the [mysqld] section of /etc/my.cnf to complete the operation.

For more information, see the MySQL documentation.

share|improve this answer
    
how can I see inside of mysql what this variable equals too now? –  alexus Jan 31 '13 at 20:41
    
SHOW VARIABLES LIKE 'max_allowed_packet'; –  Michael Hampton Jan 31 '13 at 20:45
    
thank you so much! –  alexus Jan 31 '13 at 21:17

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.