Re: pumping database dump in mysql

From: Date: Sat, 21 Apr 2001 14:36:28 +0000
Subject: Re: pumping database dump in mysql
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-49670@lists.php.net to get a copy of this message
Isn't that what load data infile does? http://www.mysql.com/doc/L/O/LOAD_DATA.html Data Driven Design P.O. Box 1084 Holly Hill, Florida 32125-1084 http://www.datadrivendesign.com http://www.rossidesigns.net ----- Original Message ----- From: Peter Van Dijck <peter@vardus.com> To: <php-general@lists.php.net> Sent: Saturday, April 21, 2001 9:39 AM Subject: [PHP] pumping database dump in mysql > Hi, > I want to write a script that takes a mysql dump file and pumps it into the > database. > I got the dump in a variable and then did > $res = mysql_query($dumpvariable); > but that doesn't work? I know how to do it on the command line, I just want > to do it in a php script... > thanks for any hints! > Peter > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > http://liga1.com building multiple language/culture websites > http://poorbuthappy.editthispage.com online ethnology, > up&down > > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, e-mail: php-general-unsubscribe@lists.php.net > For additional commands, e-mail: php-general-help@lists.php.net > To contact the list administrators, e-mail: php-list-admin@lists.php.net > >

« previous php.general (#49670) next »