Re: Running through an enormous SQL file

From: Date: Sat, 05 May 2012 01:11:23 +0000
Subject: Re: Running through an enormous SQL file
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-317792@lists.php.net to get a copy of this message
On Fri, May 4, 2012 at 6:36 PM, Brian Dunning <brian@briandunning.com> wrote: > I have a script that downloads a 267MB SQL file (it creates and loads a MySQL database). Any > idea how to do this? Obviously I'm not going to get a file that size into memory to loop > through. Is there any need to use PHP with this at all? If it's already in SQL, can't you just feed it to mysql?

« previous php.general (#317792) next »