MySQL Forums
Forum List  »  Newbie

Running Large scripts from command line
Posted by: Jehan Jaleel
Date: July 26, 2013 09:50AM


I am running MySQL Server 5.6 Community on Windows. I want to run a SQL script which is very large (about 3 GB) on one of the databases. I ran the below command from the Windows command line...

mysql -u root myDB < largeFile.sql

But after a few minutes it gives the following error..

ERROR 2006 (HY000) at line 2880: MySQL server has gone away

Does anyone have any suggestions on how to get around this?


Options: ReplyQuote

Written By
Running Large scripts from command line
July 26, 2013 09:50AM

Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.