system("mysql -u user -p db < /tmp/mydb");
On Saturday 05 November 2005 4:02 pm, Todd Cary wrote:
> My client switched from a dedicated server to a shared server, so I
> cannot use the command line to import a DB that was produced with
> mysqldump. Can I duplicate "mysql -u user -p db < /tmp/mydb" with php?
>
> Any suggestions are greatly appreciated....
>
> Todd
--
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
- Re: [PHP-DB] Using PHP to import a DB Micah Stevens
- Re: [PHP-DB] Using PHP to import a DB Todd Cary
- Re: [PHP-DB] Using PHP to import a DB Micah Stevens
- Re: [PHP-DB] Using PHP to import a DB Tim Van Wassenhove
- RE: [PHP-DB] Using PHP to import a DB Robbert van Andel
- Re: [PHP-DB] Using PHP to import a DB Todd Cary
- RE: [PHP-DB] Using PHP to import a DB Robbert van Andel
- Re: [PHP-DB] Using PHP to import a DB Todd Cary
- RE: [PHP-DB] Using PHP to import a DB Robbert van Andel
- Re: [PHP-DB] Using PHP to import a DB Todd Cary
