Re: Import .sql file via PHP
- From: Anonymous <anonymous@xxxxxxxxxxxxxxx>
- Date: Mon, 30 May 2005 10:05:12 +0200
Jamie Meyers wrote:
>
> 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
If you know how to do it with a commandline what's wrong with
exec("mysql < test.sql"); ?
.
- Follow-Ups:
- Re: Import .sql file via PHP
- From: Ivan Omelchenko 608308824
- Re: Import .sql file via PHP
- References:
- Import .sql file via PHP
- From: Jamie Meyers
- Import .sql file via PHP
- Prev by Date: get output from ssh2_shell
- Next by Date: Opnion needed on image manipulation (not neccesarilly PHP)
- Previous by thread: Re: Import .sql file via PHP
- Next by thread: Re: Import .sql file via PHP
- Index(es):
Relevant Pages
|