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

Reply via email to