Re: [PHP] Restoring a Dump File With PHP

2001-07-08 Thread Chris Lambert - WhiteCrown Networks

Click on a database in the left column, and you should see a textarea/file
combination. If the dump is small, you can just paste it in the textarea and
hit submit. Otherwise, choose the file from your local hard drive and it'll
upload it from your browser.

/* Chris Lambert, CTO - [EMAIL PROTECTED]
WhiteCrown Networks - More Than White Hats
Web Application Security - www.whitecrown.net
*/

- Original Message -
From: Chris Anderson [EMAIL PROTECTED]
To: Chris Lambert - WhiteCrown Networks [EMAIL PROTECTED]
Sent: Sunday, July 08, 2001 5:52 PM
Subject: Re: [PHP] Restoring a Dump File With PHP


| How can phpmyadmin restore from a dump file?
| - Original Message -
| From: Chris Lambert - WhiteCrown Networks [EMAIL PROTECTED]
| To: Chris Anderson [EMAIL PROTECTED]
| Cc: [EMAIL PROTECTED]
| Sent: Saturday, July 07, 2001 4:44 PM
| Subject: Re: [PHP] Restoring a Dump File With PHP
|
|
|  phpMyAdmin - www.phpwizard.net/
| 
|  or...
| 
|  http://www.sitepointforums.com/showthread.php?postid=193539#post193539
| 
|  /* Chris Lambert, CTO - [EMAIL PROTECTED]
|  WhiteCrown Networks - More Than White Hats
|  Web Application Security - www.whitecrown.net
|  */
| 
|  - Original Message -
|  From: Chris Anderson [EMAIL PROTECTED]
|  To: [EMAIL PROTECTED]
|  Sent: Saturday, July 07, 2001 4:25 PM
|  Subject: [PHP] Restoring a Dump File With PHP
| 
| 
|  I created a MySQL dump file (.sql) and I wanted to use it to restore my
|  database. Unfortunately the manual (MySQL) only shows the command line
|  method:
|  mysql database  file.sql
|  I tried this in PHP and it didn't work. Does anyone know how to load the
| sql
|  file into the database through PHP? Thanks
| 
| 
|



-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




Re: [PHP] Restoring a Dump File With PHP

2001-07-07 Thread Mark Charette

How does this _not_ work (as long as you supply the path to mysql, the
username, and the password

mark C.

- Original Message -
From: Chris Anderson [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Saturday, July 07, 2001 3:25 PM
Subject: [PHP] Restoring a Dump File With PHP


I created a MySQL dump file (.sql) and I wanted to use it to restore my
database. Unfortunately the manual (MySQL) only shows the command line
method:
mysql database  file.sql
I tried this in PHP and it didn't work. Does anyone know how to load the
.sql file into the database through PHP? Thanks



-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




Re: [PHP] Restoring a Dump File With PHP

2001-07-07 Thread Chris Lambert - WhiteCrown Networks

phpMyAdmin - www.phpwizard.net/

or...

http://www.sitepointforums.com/showthread.php?postid=193539#post193539

/* Chris Lambert, CTO - [EMAIL PROTECTED]
WhiteCrown Networks - More Than White Hats
Web Application Security - www.whitecrown.net
*/

- Original Message -
From: Chris Anderson [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Saturday, July 07, 2001 4:25 PM
Subject: [PHP] Restoring a Dump File With PHP


I created a MySQL dump file (.sql) and I wanted to use it to restore my
database. Unfortunately the manual (MySQL) only shows the command line
method:
mysql database  file.sql
I tried this in PHP and it didn't work. Does anyone know how to load the sql
file into the database through PHP? Thanks



-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]