Re: Using PHP to import a DB

From: Date: Sun, 06 Nov 2005 00:07:19 +0000
Subject: Re: Using PHP to import a DB
References: 1  Groups: php.db 
Request: Send a blank email to php-db+get-40598@lists.php.net to get a copy of this message
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

« previous php.db (#40598) next »