MySQL Forums :: Newbie :: Running Large scripts from command line


Advanced Search

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

Hi,

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?

Thanks,
Jehan

Options: ReplyQuote


Subject Written By Posted
Running Large scripts from command line Jehan Jaleel 07/26/2013 09:50AM
Re: Running Large scripts from command line Peter Brawley 07/26/2013 09:53PM


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.