On Saturday 21 April 2001 15:39, Peter Van Dijck wrote:
> Hi,
> I want to write a script that takes a mysql dump file and pumps it into
> the database.
What about simply using phpMyAdmin?
--
Christian Reiniger
LGDC Webmaster (http://sunsite.dk/lgdc/)
"Software is like sex: the best is for free
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 <[EMAIL PROTECTED]>
To: <[EMAIL PROTE
If you can do it on the command line why not just use the system function
and use the command you would use on the command line..?
What you try to do now is to feed the whole dump file to mysql_query..
This will never work because mysql_query will only accept one query at a
time and the mysqldump
3 matches
Mail list logo