Re: MySQL upload problem (solved)

From: Date: Thu, 13 Sep 2007 12:49:00 +0000
Subject: Re: MySQL upload problem (solved)
References: 1 2 3 4  Groups: php.general 
Request: Send a blank email to php-general+get-262077@lists.php.net to get a copy of this message
tedd wrote:
I was thinking that I could ftp the sql file to the clients server and then run a php script on his server, something like: $sql = "mysql -h$dbhost -u$dbuser -p$dbpass $dbname < $filename"; system($sql); But, that didn't work -- however -- using mysqldump did download the file. So, I'm close. I know that safe_mode is ON, but I'm not sure if that's what's causing the failure or something else.
We got the host to install a newer version of phpMyAdmin. It worked by breaking the dB into tables and then doing the transfer. Thanks to all. Cheers, tedd -- ------- http://sperling.com http://ancientstones.com http://earthstones.com

« previous php.general (#262077) next »