SQL-file per table in ZIP
ZoWeArdeb opened this issue · comments
Discussed in #1627
Originally posted by ZoWeArdeb January 11, 2023
Hello,
Is their a param to set, if you want to have an SQL-file for each table instead of a general SQL-file for the complete database?
Because if i want to restore a complete database with a single SQL-file it gives me an error: SQLSTATE[08S01]: Communication link failure: 1153 Got a packet bigger than 'max_allowed_packet' bytes. Due security reasons i'm not planning to upgrade these bytes. So it would be better if i can chunck that one big SQL-file into several small ones (per table).
If anyone can help me, it would be nice.
Thanks in advance.
Kind regards
Duplicate of #1627
Hey, @ZoWeArdeb,
Unfortunately I don't think you can do that.
Your particular case doesn't align with the purpose of this package.
What I can suggest is make your own version of this package, you can get head start from here see Otherwise, use this spatie/db-dumber package.
All the best 👍
Dear contributor,
because this issue seems to be inactive for quite some time now, I've automatically closed it. If you feel this issue deserves some attention from my human colleagues feel free to reopen it.