Import .sql file via PHP
- From: "Jamie Meyers" <gtg061q@xxxxxxxxxxxxxxx>
- Date: Mon, 30 May 2005 01:31:57 -0400
Does anyone know how to import a .sql dump file into a mysql database using
php. I know how to do it using commandline, mysql < test.sql, but I am
writing an install script, and was wondering if it is possible to do it this
way. If not, do you know of any parser that will do all the importing/table
creation the .sql file defines? Any response is much appreciated.
Thanks,
Jamie
.
- Follow-Ups:
- Re: Import .sql file via PHP
- From: Anonymous
- Re: Import .sql file via PHP
- From: Stephen Harris
- Re: Import .sql file via PHP
- Prev by Date: Re: NOT EXISTS syntax problem
- Next by Date: Re: Import .sql file via PHP
- Previous by thread: XSL-FO and PHP? ---- reliable PHP Hosting?
- Next by thread: Re: Import .sql file via PHP
- Index(es):
Relevant Pages
|