mysqldump and wamp
- by Adam
I am running a wamp server and trying to use mysqldump to backup a mysql database I have. The following is the PHP code I am using to run mysqldump.
exec("mysqldump backup -u$user -p$pass > $sql_file");
When I run the script the page just loads inifnately and the backup is not created.
A blank file is being created so I know something is happening.
Extra info:
exec() is not disabled
PHP is not running in safe mode
Any ideas??
Win XP, WAMP, MYSQL 5.0.51b