Re: Import .sql file via PHP
- From: "Jamie Meyers" <gtg061q@xxxxxxxxxxxxxxx>
- Date: Mon, 30 May 2005 03:27:45 -0400
Nevermind, I decided to parse the .sql file and create the query there. I
do not think there is any way to import the .sql file via php. Thanks
anyways. And if anyone would like this script after I fix it up a little
more, let me know.
Jamie
"Stephen Harris" <cyberguard1048-usenet@xxxxxxxxx> wrote in message
news:Iuyme.257$IE7.16@xxxxxxxxxxxxxxxxxxxxxxxxxxxxx
>
> I saw these instructions in the install text for PBS, an AMP program.
>
> "Now we put data in our fresh database. In directory pbs/dump is a dump
> with example data. Use mysql dbname < pbssample_english.dmp.
> (dbname is $db_name in environment.php3)"
>
> I think the dump delivered database structure for a help desk program,
> PBS. I don't know much about this so you got "any response".
>
> Another example:
> a..
> 1.. go to the directory where the command mysql is recognized and type
> the commands displayed in bold below:
> a.. prompt$ mysql
> b.. mysql> create database allonto;
> c.. mysql> quit
> d.. prompt$ mysql allonto < allonto.dmp
>
> 1.. Run the following command to dump your Mysql database:
> 2.. mysqldump -f -t -n >bacula-backup.dmp>
>
>
> a..
>
>
.
- Follow-Ups:
- Re: Import .sql file via PHP
- From: Tim Van Wassenhove
- Re: Import .sql file via PHP
- References:
- Import .sql file via PHP
- From: Jamie Meyers
- Re: Import .sql file via PHP
- From: Stephen Harris
- Import .sql file via PHP
- Prev by Date: Re: Import .sql file via PHP
- Next by Date: Re: Will php ever do strong typing?
- Previous by thread: Re: Import .sql file via PHP
- Next by thread: Re: Import .sql file via PHP
- Index(es):
Relevant Pages
|