• Our team is looking to connect with folks who use email services provided by Plesk, or a premium service. If you'd like to be part of the discovery process and share your experiences, we invite you to complete this short screening survey. If your responses match the persona we are looking for, you'll receive a link to schedule a call at your convenience. We look forward to hearing from you!
  • We are looking for U.S.-based freelancer or agency working with SEO or WordPress for a quick 30-min interviews to gather feedback on XOVI, a successful German SEO tool we’re looking to launch in the U.S.
    If you qualify and participate, you’ll receive a $30 Amazon gift card as a thank-you. Please apply here. Thanks for helping shape a better SEO product for agencies!
  • The BIND DNS server has already been deprecated and removed from Plesk for Windows.
    If a Plesk for Windows server is still using BIND, the upgrade to Plesk Obsidian 18.0.70 will be unavailable until the administrator switches the DNS server to Microsoft DNS. We strongly recommend transitioning to Microsoft DNS within the next 6 weeks, before the Plesk 18.0.70 release.
  • The Horde component is removed from Plesk Installer. We recommend switching to another webmail software supported in Plesk.

Issue Unable to make database dump

Rar9

Regular Pleskian
How to resolve this The Database is about 650MB large. Table Session is 315MB.

Unable to make database dump. Error:
Failed to exec mysqldump: mysqldump: Error 2020: Got packet bigger than 'max_allowed_packet' when dumping table `sessions` at row: 0

How to fix this as i can't even dumpt the DB via Gui


/usr/local/psa/admin/conf/php.ini

short_open_tag = On
y2k_compliance = Off
output_buffering = Off
max_execution_time = 600
max_input_time = 600
memory_limit = 2048M
max_file_uploads = 99999
max_input_vars = 2000


/etc/mysql/my.cnf

collation_server=utf8mb4_unicode_ci
character_set_server=utf8mb4
skip-character-set-client-handshake

innodb_large_prefix=true
innodb_file_format=barracuda
innodb_file_per_table=true
innodb_buffer_pool_size=2048M
query_cache_size=64M
max_allowed_packet=2048M
open_files_limit = 65535
 
You can add something such as --max_allowed_packet=512M to your mysqldump command.
 
this might be the manual solution, but I require PLESK BACKUP Manager to work
 
Ok, you will want to increase the max_allowed_packet option under the mysqldump section in the my.cnf file.

/etc/mysql/my.cnf
 
This is why i already posted theses 2 files.


$ cat /etc/mysql/my.cnf | grep 'max_allowed_packet'

max_allowed_packet=2048M

MariaDB [psa]> Select @@global.max_allowed_packet;

+-----------------------------+

| @@global.max_allowed_packet |

+-----------------------------+

| 1073741824 |
 
I added 2048mb to [mysqldump]
Rebooted Mysql
no change

But according to MariaDB Documentation max is 1 GB mysqldump

So I'm out of ideas
 
Back
Top