mysqldump: Error 2020: Got packet bigger than 'max_allowed_packet' bytes when du mping table `wp_postmeta` at row: 7237

November 12, 2019 135 views
Apache

How to solve the below apache error

mysqldump: Error 2020: Got packet bigger than 'max_allowed_packet' bytes when du mping table `wp_postmeta` at row: 7237
1 Answer

Hello,

This does not look like an Apache error but an error form mysqldump. You could try running your export with the following flag:

mysqldump --max_allowed_packet=1G

Hope that this helps!
Regards,
Bobby

  • Output

    Usage: mysqldump [OPTIONS] database [tables]
    OR     mysqldump [OPTIONS] --databases [OPTIONS] DB1 [DB2 DB3...]
    OR     mysqldump [OPTIONS] --all-databases [OPTIONS]
    For more options, use mysqldump --help
    
    
Have another answer? Share your knowledge.