X-Recipient: archive-cygwin@delorie.com
DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id
	:list-unsubscribe:list-subscribe:list-archive:list-post
	:list-help:sender:message-id:date:from:mime-version:to:subject
	:content-type:content-transfer-encoding; q=dns; s=default; b=maU
	pgyeVAgvq6RN+aWLWLyEcDS8DQzKXY+KpOtvzxkzAPM1Z0aoo39VOPIv3mnC17mX
	K+tBK8CnI5hEJFCLjTg/j4TkPIWENcyNNQmxw4h6CtBrhMphv3meOSvINTSfm6RX
	3TuGeVsJaX13YCgbhcVq2HcezgcfVS2LH1TJY/hw=
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id
	:list-unsubscribe:list-subscribe:list-archive:list-post
	:list-help:sender:message-id:date:from:mime-version:to:subject
	:content-type:content-transfer-encoding; s=default; bh=8Q3qMZmx3
	QYSWdcloRAd3hh/u1Q=; b=rFFvKO3WGc8jk+HqA21EMY+tDFB2wCe3FIhI7bXI2
	1SdZzvK8ozS28/cwIOc78zTTc8h26vqtuMg8vCsl+Sdy5Schazs+9VtFtZ1jvaSV
	z6dMfqTHa2UyKvNX/ZqYsZaF7WmKwo34kwONQm+9SQ7Z4Dutc12eNl7zkHI4z+fW
	is=
Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com
X-Spam-SWARE-Status: No, score=-2.3 required=5.0 tests=BAYES_00,FREEMAIL_ENVFROM_END_DIGIT,FREEMAIL_FROM,RCVD_IN_DNSWL_LOW,RCVD_IN_HOSTKARMA_YE,SPF_PASS autolearn=ham version=3.3.1
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;        d=google.com; s=20120113;        h=message-id:date:from:user-agent:mime-version:to:subject         :content-type:content-transfer-encoding;        bh=sVnFhJnhF1ADdFWqwrzJpWQ7V1gOmiisDsSpoJmsriE=;        b=CZF1WXAVs5xkftoghmmBsSRiw3oicNZ4vEhZ9fgbaZNwRJqqne/DUMGoKa4ykYBPd1         4Vdjs/HhO8ccUhJRf69W8lZZuXchX4f0lLqgLpW9qrHyG9Bdhq6D+9IxzYF/Pnh2eDkx         RYiXzdS1aQvrJTdyHrxAN3zR9GwRgUkI0ul0Sc4WDHN0Ydo3fk+YyAQnRO7IhbU6SQ23         tS6U71Q7GqAJE1X8sYwyla5yClheB+vXrBZmeN7Bm6+0hwex5KhBQdhtd7BGD6zpwlAD         szUXD9Be8v5/+eQLEeoAQYhESxC3Es1yOjgalg5pceLCwMAv2zjrzTFmUSHfHEb0kO2P         U+eA==
X-Received: by 10.14.39.66 with SMTP id c42mr480838eeb.43.1369492521986;        Sat, 25 May 2013 07:35:21 -0700 (PDT)
Message-ID: <51A0CC27.6010406@Kautler.net>
Date: Sat, 25 May 2013 16:35:19 +0200
From: =?UTF-8?B?QmrDtnJuIEthdXRsZXI=?= <Bjoern@Kautler.net>
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20130510 Thunderbird/17.0.6
MIME-Version: 1.0
To: cygwin@cygwin.com
Subject: Mysql shows wrong error message
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

Hi,

I have a dump of a MySQL database.
I'm trying to import it to a MySQL server running on cygwin.
But during the import process I got "ERROR 2006 (HY000) at line 1642: MySQL server has gone away".
This is not quite true, the MySQL server is still up and running and I can connect fine.
I then tried to import the very same dump into a MySQL database on Debian and got the more helpful and more correct message "ERROR 1153 (08S01) at line 2630: Got a packet bigger than 'max_allowed_packet' bytes".
After increasing 'max_allowed_packet' on the server side, the import went smoothly on Debian.
So I then also tried this on Cygwin, increasing 'max_allowed_packet' and importing et voila, the import worked fined.

So Cygwin here seems to show "ERROR 2006 (HY000) at line 1642: MySQL server has gone away" when it should have shown "ERROR 1153 (08S01) at line 2630: Got a packet bigger than 'max_allowed_packet' bytes" instead.

Regards
Björn

--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple

