Vesta Control Panel - Forum

Community Forum

Skip to content

Advanced search
  • Quick links
    • Main site
    • Github repo
    • Google Search
  • FAQ
  • Login
  • Register
  • Board index Dev Section Scripting / API
  • Search

Add --max-allow-packet to backup script

Questions regarding the API
Application Programming Interface
Post Reply
  • Print view
Advanced search
2 posts • Page 1 of 1
nelblack
Posts: 11
Joined: Tue Jan 07, 2014 10:59 pm

Add --max-allow-packet to backup script
  • Quote

Post by nelblack » Tue Aug 08, 2017 12:59 pm

Hi all,

Does anyone knows how to add the parameter ''--max_allowed_packet=512M'' into the daily backup script? our database is too large and getting fail by daily backup, we used mysqldump with ''--max_allowed_packet'' and get backup successful in shell command. so we expect to add the parameter to resolve our problem.
Top

skamasle
Collaborator
Posts: 592
Joined: Mon Feb 29, 2016 6:36 pm

Re: Add --max-allow-packet to backup script
  • Quote

Post by skamasle » Fri Sep 29, 2017 7:13 pm

Why not add it directly to your my.cnf in /etc/mysql ?

This will solve issue, because not is a mysqldump problem, is a mysql limit
Top


Post Reply
  • Print view

2 posts • Page 1 of 1

Return to “Scripting / API”



  • Board index
  • All times are UTC
  • Delete all board cookies
  • The team
Powered by phpBB® Forum Software © phpBB Limited
*Original Author: Brad Veryard
*Updated to 3.2 by MannixMD
 

 

Login  •  Register

I forgot my password