spatie / laravel-backup

A package to backup your Laravel app

Home Page:https://spatie.be/docs/laravel-backup

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

mysqldump: Error 2020: Got packet bigger than 'max_allowed_packet' when dumping table xxx

pczartoryski opened this issue · comments

commented

I got error while taking backup of db:

mysqldump: Error 2020: Got packet bigger than 'max_allowed_packet' when dumping table xxx

I have configured mysql like this :

[mysqld]
max_allowed_packet = 1073741824

[mysqldump]
max_allowed_packet = 1073741824

and restarted , but no effect.

When I check in mysql max_allowed_packet value - it is correct - as described above.

There is also no problem with making dump of this mysql database (enginge=InnoDb in case it matters) by software like Adminer .

Am I doing something wrong or library is not using this mysql configuration while taking backups ?