Re: Restoring a Dump File With PHP
| From: | Chris Lambert - WhiteCrown Networks | Date: | Sun, 08 Jul 2001 21:55:44 +0000 |
| Subject: | Re: Restoring a Dump File With PHP | ||
| References: | 1 2 3 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-56818@lists.php.net to get a copy of this message | ||
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 - chris@whitecrown.net
WhiteCrown Networks - More Than White Hats
Web Application Security - www.whitecrown.net
*/
----- Original Message -----
From: Chris Anderson <chrisderson@ameritech.net>
To: Chris Lambert - WhiteCrown Networks <chris@whitecrown.net>
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" <chris@whitecrown.net>
| To: "Chris Anderson" <chrisderson@ameritech.net>
| Cc: <php-general@lists.php.net>
| 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 - chris@whitecrown.net
| > WhiteCrown Networks - More Than White Hats
| > Web Application Security - www.whitecrown.net
| > */
| >
| > ----- Original Message -----
| > From: Chris Anderson <chrisderson@ameritech.net>
| > To: <php-general@lists.php.net>
| > 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
| >
| >
|