Commit 25c7553
Added max_allowed_packet parameter to mysql dump (hestiacp#2211)
* Added max_allowed_packet parameter to mysql dump
At 10.5.10-MariaDB, I got backup error when mysql dump.
mysqldump: Error 2020: Got packet bigger than 'max_allowed_packet' when dumping table ...
my.cnf value is 1G.
max_allowed_packet = 1G
I added,
[mysqldump]
max_allowed_packet = 1G
not worked.
These are not fix the problem.
When I added --max_allowed_packet=128M to the command line, it works without any problem.
* Use --defaults-extra-file instead of max-allowed-package size
This config will also include mysql config it self for extra settings if need
Co-authored-by: Jaap Marcus <9754650+jaapmarcus@users.noreply.github.com>1 parent b3eeed5 commit 25c7553
1 file changed
+1
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
96 | 96 | | |
97 | 97 | | |
98 | 98 | | |
99 | | - | |
| 99 | + | |
100 | 100 | | |
101 | 101 | | |
102 | 102 | | |
| |||
0 commit comments