Re: Import .sql file via PHP
- From: Ivan Omelchenko 608308824 <news@xxxxxxxxxxxxxx>
- Date: Mon, 30 May 2005 15:15:04 +0300
Anonymous пишет:
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"); ?
can be denied on public hostings! .
- References:
- Import .sql file via PHP
- From: Jamie Meyers
- Re: Import .sql file via PHP
- From: Anonymous
- Import .sql file via PHP
- Prev by Date: How to create html list from such array ?
- Next by Date: Re: Opnion needed on image manipulation (not neccesarilly PHP)
- Previous by thread: Re: Import .sql file via PHP
- Next by thread: get output from ssh2_shell
- Index(es):
Relevant Pages
|