Foro Support  

Ingresa tu email y recibiras los ultimos anuncios


Go Back   Foro Support > Base de datos > MySQL

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 12-21-2011, 08:09 PM
Super Moderator
 
Join Date: Dec 2011
Posts: 55
Default mysqldump:Error 2013: Lost connection MySQL server during query when dumping table

Este error se suele producir cuando hacemos un mysqldump de una base de datos MySQL con tablas de gran tamaño:

mysqldump: Error 2013: Lost connection to MySQL server during query when dumping table XXXX

Para solucionarlo, podemos aumentar temporalmente el tamaño máximo del buffer de comunicación de mysql a través de la variable max_allowed_packet. El valor se puede establecer en K, M ó G para indicar er kilobytes, megabytes, o gigabytes. Probad a aumentar el límite y verificar si el error queda solucionado, sino, es posible que tengáis que aumentarlo más:

Code:
$ mysqldump --opt --max_allowed_packet=128M base_de_datos > bd.sql
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiTweet this Post!
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT -5. The time now is 07:29 PM.


Powered by vBulletin® Version 3.8.5
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.5.2