Hello Emil

You need to increase the max packet size that mysql can handle... try 
putting this in your my.cnf file under [mysqld]:

set-variable = max_allowed_packet=5M

and restarting your server (obv. if you're starting mysql from the command 
line use the switch --max_allowed_packet)

james



At 10:35 04/03/2002 -0500, Diego, Emil wrote:
>I am having a problem reading a SQL script to recreate a database.  I am
>runing mysql 3.23 on Redhat linux 7.2.  The SQL file contains 35 megs worth
>of data.  Everytime i try running it to recreate my database from a backup i
>get the following error:
>ERROR 2006: MySQL server has gone away.
>
>I beleive that it is failing in the same spot.  I have one very large table
>that has over 1 meg
>worth of data in a single row.  I beleive that is where the SQL is failing.
>Is there anything I can do to modify the configuration to allow large SQL
>statements like that to run.
>
>
>
>Emil Diego
>Web Coordinator
>University of Miami School of Business
>[EMAIL PROTECTED]
>ph: 305.284.5449
>fx: 305.284.3404
>
>---------------------------------------------------------------------
>Before posting, please check:
>    http://www.mysql.com/manual.php   (the manual)
>    http://lists.mysql.com/           (the list archive)
>
>To request this thread, e-mail <[EMAIL PROTECTED]>
>To unsubscribe, e-mail 
><[EMAIL PROTECTED]>
>Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php

James Carrier

Bullet Online :: Aim Higher [http://www.bulletonline.com]
41b Beavor Lane, London W6 9BL

Tel +44 (0) 20 8834 3442
Fax +44 (0) 20 8741 2790


---------------------------------------------------------------------
Before posting, please check:
   http://www.mysql.com/manual.php   (the manual)
   http://lists.mysql.com/           (the list archive)

To request this thread, e-mail <[EMAIL PROTECTED]>
To unsubscribe, e-mail <[EMAIL PROTECTED]>
Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php

Reply via email to