|
Posted by Anonymous on 10/31/12 11:17
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"); ?
Navigation:
[Reply to this message]
|